Class LayerStyle
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.style.LayerStyle
-
-
Field Summary
Fields Modifier and Type Field Description static intINIT_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 LayerStylecopy()StyleListgetDecoratorStyle()intgetFillType()BasicStylegetGeomStyle()ColorgetLabelColor()intgetLabelSize()intgetOffsetSize()ColorgetVertexColor()intgetVertexSize()intgetVertexSymbol()booleanisEndpoints()booleanisLabel()booleanisOffset()booleanisOrientations()booleanisSegIndex()booleanisShifted()booleanisStructure()booleanisVertexLabels()booleanisVertices()voidpaint(Geometry geom, Viewport viewport, Graphics2D g)voidsetColor(Color color)voidsetEndpoints(boolean show)voidsetFillType(int fillType)voidsetLabel(boolean show)voidsetLabelColor(Color color)voidsetLabelSize(int size)voidsetOffset(boolean show)voidsetOffsetSize(int offsetSize)voidsetOrientations(boolean show)voidsetSegIndex(boolean show)voidsetShift(boolean isShift)voidsetStructure(boolean show)voidsetVertexColor(Color color)voidsetVertexLabels(boolean show)voidsetVertexSize(int size)voidsetVertexSymbol(int sym)voidsetVertices(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()
-
-