Class LayerStyle
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.style.LayerStyle
-
-
Field Summary
Fields Modifier and Type Field Description static int
INIT_OFFSET_SIZE
-
Constructor Summary
Constructors Constructor Description LayerStyle(BasicStyle geomStyle)
LayerStyle(BasicStyle geomStyle, StyleList decoratorStyle)
LayerStyle(LayerStyle layerStyle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LayerStyle
copy()
StyleList
getDecoratorStyle()
int
getFillType()
BasicStyle
getGeomStyle()
Color
getLabelColor()
int
getLabelSize()
int
getOffsetSize()
Color
getVertexColor()
int
getVertexSize()
int
getVertexSymbol()
boolean
isEndpoints()
boolean
isLabel()
boolean
isOffset()
boolean
isOrientations()
boolean
isSegIndex()
boolean
isShifted()
boolean
isStructure()
boolean
isVertexLabels()
boolean
isVertices()
void
paint(Geometry geom, Viewport viewport, Graphics2D g)
void
setColor(Color color)
void
setEndpoints(boolean show)
void
setFillType(int fillType)
void
setLabel(boolean show)
void
setLabelColor(Color color)
void
setLabelSize(int size)
void
setOffset(boolean show)
void
setOffsetSize(int offsetSize)
void
setOrientations(boolean show)
void
setSegIndex(boolean show)
void
setShift(boolean isShift)
void
setStructure(boolean show)
void
setVertexColor(Color color)
void
setVertexLabels(boolean show)
void
setVertexSize(int size)
void
setVertexSymbol(int sym)
void
setVertices(boolean show)
-
-
-
Field Detail
-
INIT_OFFSET_SIZE
public static final int INIT_OFFSET_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LayerStyle
public LayerStyle(BasicStyle geomStyle)
-
LayerStyle
public LayerStyle(BasicStyle geomStyle, StyleList decoratorStyle)
-
LayerStyle
public LayerStyle(LayerStyle layerStyle)
-
-
Method Detail
-
copy
public LayerStyle copy()
-
getGeomStyle
public BasicStyle getGeomStyle()
-
getDecoratorStyle
public StyleList getDecoratorStyle()
-
getFillType
public int getFillType()
-
setFillType
public void setFillType(int fillType)
-
getVertexSymbol
public int getVertexSymbol()
-
setVertexSymbol
public void setVertexSymbol(int sym)
-
setColor
public void setColor(Color color)
-
setVertices
public void setVertices(boolean show)
-
isVertices
public boolean isVertices()
-
setEndpoints
public void setEndpoints(boolean show)
-
isEndpoints
public boolean isEndpoints()
-
getVertexSize
public int getVertexSize()
-
setVertexSize
public void setVertexSize(int size)
-
getVertexColor
public Color getVertexColor()
-
setVertexColor
public void setVertexColor(Color color)
-
setVertexLabels
public void setVertexLabels(boolean show)
-
isVertexLabels
public boolean isVertexLabels()
-
setLabel
public void setLabel(boolean show)
-
isLabel
public boolean isLabel()
-
getLabelSize
public int getLabelSize()
-
setLabelSize
public void setLabelSize(int size)
-
getLabelColor
public Color getLabelColor()
-
setLabelColor
public void setLabelColor(Color color)
-
paint
public void paint(Geometry geom, Viewport viewport, Graphics2D g) throws Exception
-
setOffset
public void setOffset(boolean show)
-
isOffset
public boolean isOffset()
-
setOffsetSize
public void setOffsetSize(int offsetSize)
-
getOffsetSize
public int getOffsetSize()
-
setOrientations
public void setOrientations(boolean show)
-
isOrientations
public boolean isOrientations()
-
setStructure
public void setStructure(boolean show)
-
isStructure
public boolean isStructure()
-
setSegIndex
public void setSegIndex(boolean show)
-
isSegIndex
public boolean isSegIndex()
-
setShift
public void setShift(boolean isShift)
-
isShifted
public boolean isShifted()
-
-