Class SegmentDownhillArrowStyle
java.lang.Object
com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
com.vividsolutions.jump.workbench.ui.renderer.style.LineStringSegmentStyle
org.openjump.core.ui.style.decoration.SegmentDownhillArrowStyle
- All Implemented Interfaces:
ChoosableStyle, Style, Cloneable
- Direct Known Subclasses:
SegmentDownhillArrowStyle.NarrowSolidMiddle, SegmentDownhillArrowStyle.Open, SegmentDownhillArrowStyle.Solid
- Author:
- Paul Austin
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
FieldsFields inherited from class LineStringSegmentStyle
icon, nameFields inherited from class LineStringStyle
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke -
Constructor Summary
ConstructorsConstructorDescriptionSegmentDownhillArrowStyle(String name, String iconFile, double finAngle, double finLength, boolean filled) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpaint(Point2D terminal, Point2D next, Viewport viewport, Graphics2D graphics) protected voidpaint(org.locationtech.jts.geom.Coordinate terminal, org.locationtech.jts.geom.Coordinate next, Viewport viewport, Graphics2D graphics) Methods inherited from class LineStringSegmentStyle
getIcon, getName, paintLineStringMethods 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
-
finLength
protected double finLength
-
-
Constructor Details
-
SegmentDownhillArrowStyle
-
-
Method Details
-
paint
protected void paint(org.locationtech.jts.geom.Coordinate terminal, org.locationtech.jts.geom.Coordinate next, Viewport viewport, Graphics2D graphics) throws Exception - Overrides:
paintin classLineStringSegmentStyle- Throws:
Exception
-
paint
protected void paint(Point2D terminal, Point2D next, Viewport viewport, Graphics2D graphics) throws NoninvertibleTransformException - Specified by:
paintin classLineStringSegmentStyle- Throws:
NoninvertibleTransformException
-