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
public abstract class SegmentDownhillArrowStyle extends LineStringSegmentStyle
- Author:
- Paul Austin
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSegmentDownhillArrowStyle.NarrowSolidMiddlestatic classSegmentDownhillArrowStyle.Openstatic classSegmentDownhillArrowStyle.Solid
-
Field Summary
Fields Modifier and Type Field Description protected doublefinLength-
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringSegmentStyle
icon, name
-
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke
-
-
Constructor Summary
Constructors Constructor Description SegmentDownhillArrowStyle(String name, String iconFile, double finAngle, double finLength, boolean filled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 com.vividsolutions.jump.workbench.ui.renderer.style.LineStringSegmentStyle
getIcon, getName, paintLineString
-
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
clone, initialize, isEnabled, paint, paintGeometry, setEnabled
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.vividsolutions.jump.workbench.ui.renderer.style.Style
clone, initialize, isEnabled, paint, setEnabled
-
-
-
-
Method Detail
-
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
-
-