protected static class BasicMarkerShape.CompoundShape extends java.lang.Object implements MarkerShape, Disposable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
protected double |
offset |
protected java.util.ArrayList<MarkerShape> |
shapes |
protected java.lang.String |
shapeType |
Constructor and Description |
---|
CompoundShape(java.lang.String shapeType,
java.lang.String name,
MarkerShape shape1,
MarkerShape shape2) |
CompoundShape(java.lang.String shapeType,
java.lang.String name,
MarkerShape shape1,
MarkerShape shape2,
double offset) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes of any internal resources allocated by the object.
|
java.lang.String |
getName() |
java.lang.String |
getShapeType() |
void |
render(DrawContext dc,
Marker marker,
Vec4 point,
double radius) |
void |
render(DrawContext dc,
Marker marker,
Vec4 point,
double radius,
boolean isRelative) |
protected java.lang.String name
protected double offset
protected java.util.ArrayList<MarkerShape> shapes
protected java.lang.String shapeType
public CompoundShape(java.lang.String shapeType, java.lang.String name, MarkerShape shape1, MarkerShape shape2)
public CompoundShape(java.lang.String shapeType, java.lang.String name, MarkerShape shape1, MarkerShape shape2, double offset)
public void dispose()
Disposable
dispose
in interface Disposable
public java.lang.String getName()
public java.lang.String getShapeType()
getShapeType
in interface MarkerShape
public void render(DrawContext dc, Marker marker, Vec4 point, double radius)
render
in interface MarkerShape
public void render(DrawContext dc, Marker marker, Vec4 point, double radius, boolean isRelative)
render
in interface MarkerShape