Class LineStringStyle
java.lang.Object
com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
- Direct Known Subclasses:
LineStringEndpointStyle, LineStringSegmentStyle, LineStringVertexStyle
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidinitialize(Layer layer) Called before #paint is applied to each Feature.booleanvoidpaint(Feature f, Graphics2D g, Viewport viewport) protected voidpaintGeometry(org.locationtech.jts.geom.Geometry geometry, Graphics2D graphics, Viewport viewport) protected abstract voidpaintLineString(org.locationtech.jts.geom.LineString lineString, Viewport viewport, Graphics2D graphics) voidsetEnabled(boolean enabled)
-
Field Details
-
enabled
protected boolean enabled -
stroke
-
lineColorWithAlpha
-
fillColorWithAlpha
-
-
Constructor Details
-
LineStringStyle
-
-
Method Details
-
clone
-
paintGeometry
protected void paintGeometry(org.locationtech.jts.geom.Geometry geometry, Graphics2D graphics, Viewport viewport) throws Exception - Throws:
Exception
-
paintLineString
protected abstract void paintLineString(org.locationtech.jts.geom.LineString lineString, Viewport viewport, Graphics2D graphics) throws Exception - Parameters:
lineString- has 2 or more pointsviewport- the viewport to paint the lineString tographics- the graphic context- Throws:
Exception- if an Exception occurs during painting
-
setEnabled
public void setEnabled(boolean enabled) - Specified by:
setEnabledin interfaceStyle
-
isEnabled
-
initialize
Description copied from interface:StyleCalled before #paint is applied to each Feature.- Specified by:
initializein interfaceStyle- Parameters:
layer- the layer on which to apply this style
-
paint
-