protected static class BasicMarkerShape.CompoundShape extends Object implements MarkerShape, Disposable
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected double |
offset |
protected ArrayList<MarkerShape> |
shapes |
protected String |
shapeType |
Constructor and Description |
---|
CompoundShape(String shapeType,
String name,
MarkerShape shape1,
MarkerShape shape2) |
CompoundShape(String shapeType,
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.
|
String |
getName() |
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 String name
protected double offset
protected ArrayList<MarkerShape> shapes
protected String shapeType
public CompoundShape(String shapeType, String name, MarkerShape shape1, MarkerShape shape2)
public CompoundShape(String shapeType, String name, MarkerShape shape1, MarkerShape shape2, double offset)
public void dispose()
Disposable
dispose
in interface Disposable
public String getName()
public 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