Class LineStringEndpointStyle
java.lang.Object
com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
com.vividsolutions.jump.workbench.ui.renderer.style.LineStringEndpointStyle
- All Implemented Interfaces:
ChoosableStyle, Style, Cloneable
- Direct Known Subclasses:
ArrowLineStringEndpointStyle, ArrowLineStringMiddlepointStyle, CircleLineStringEndpointStyle
-
Field Summary
FieldsFields inherited from class LineStringStyle
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()For display. 20 x 20 pixels.getName()For display.protected abstract voidpaint(Point2D terminal, Point2D next, Viewport viewport, Graphics2D graphics) protected voidpaintLineString(org.locationtech.jts.geom.LineString lineString, Viewport viewport, Graphics2D graphics) Methods inherited from class LineStringStyle
clone, initialize, isEnabled, paint, paintGeometry, setEnabledMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Style
clone, initialize, isEnabled, paint, setEnabled
-
Field Details
-
name
-
icon
-
-
Constructor Details
-
LineStringEndpointStyle
-
-
Method Details
-
paintLineString
protected void paintLineString(org.locationtech.jts.geom.LineString lineString, Viewport viewport, Graphics2D graphics) throws Exception - Specified by:
paintLineStringin classLineStringStyle- 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
-
paint
-
getName
Description copied from interface:ChoosableStyleFor display.- Specified by:
getNamein interfaceChoosableStyle- Returns:
- the name of this Style
-
getIcon
Description copied from interface:ChoosableStyleFor display. 20 x 20 pixels.- Specified by:
getIconin interfaceChoosableStyle- Returns:
- an Icon representing this Style
-