Package com.treasure.hunt.jts.other
Class ImageItem
- java.lang.Object
-
- com.treasure.hunt.jts.other.ImageItem
-
- All Implemented Interfaces:
JavaFxDrawable
public class ImageItem extends java.lang.Object implements JavaFxDrawable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ImageItem.Alignment
-
Constructor Summary
Constructors Constructor Description ImageItem(org.locationtech.jts.geom.Coordinate position, int maxWidth, int maxHeight, java.lang.String imagePath, ImageItem.Alignment alignment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(GeometryStyle geometryStyle, javafx.scene.canvas.GraphicsContext graphics2D, AdvancedShapeWriter shapeWriter)
-
-
-
Constructor Detail
-
ImageItem
public ImageItem(org.locationtech.jts.geom.Coordinate position, int maxWidth, int maxHeight, java.lang.String imagePath, ImageItem.Alignment alignment)
-
-
Method Detail
-
draw
public void draw(GeometryStyle geometryStyle, javafx.scene.canvas.GraphicsContext graphics2D, AdvancedShapeWriter shapeWriter)
- Specified by:
draw
in interfaceJavaFxDrawable
-
-