Class LayerStyle
java.lang.Object
org.locationtech.jtstest.testbuilder.ui.style.LayerStyle
- All Implemented Interfaces:
Style
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLayerStyle
(BasicStyle geomStyle) LayerStyle
(BasicStyle geomStyle, StyleList decoratorStyle) LayerStyle
(LayerStyle layerStyle) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
int
int
int
int
int
boolean
boolean
isLabel()
boolean
isOffset()
boolean
boolean
boolean
boolean
boolean
boolean
void
paint
(Geometry geom, Viewport viewport, Graphics2D g) void
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 Details
-
INIT_OFFSET_SIZE
public static final int INIT_OFFSET_SIZE- See Also:
-
-
Constructor Details
-
LayerStyle
-
LayerStyle
-
LayerStyle
-
-
Method Details
-
copy
-
getGeomStyle
-
getDecoratorStyle
-
getFillType
public int getFillType() -
setFillType
public void setFillType(int fillType) -
getVertexSymbol
public int getVertexSymbol() -
setVertexSymbol
public void setVertexSymbol(int sym) -
setColor
-
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
-
setVertexColor
-
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
-
setLabelColor
-
paint
-
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()
-