Package org.geotools.renderer.style
Interface PointStyle2D
- All Known Implementing Classes:
GraphicStyle2D
,IconStyle2D
,MarkStyle2D
public interface PointStyle2D
A point style can be used to depict a point, or can be repeated along a line or inside a fill. Point styles are
implemented in rather different ways, shapes, icons, static images, this interface collects the traits shared by all
- Author:
- Andrea Aime - GeoSolutions
-
Method Summary
Modifier and TypeMethodDescriptionfloat
The point symbol x anchor, between 0 and 1, defaults to 0.5float
The point symbol y anchor, between 0 and 1, defaults to 0.5Returns the composite for this point symbolfloat
The point symbol x displacementfloat
The point symbol y displacementfloat
The point symbol rotation, in radians.void
setAnchorPointX
(float anchorPointX) Sets the point symbol x anchor, between 0 and 1void
setAnchorPointY
(float anchorPointY) Sets the point symbol y anchor, between 0 and 1void
setComposite
(Composite composite) Sets the composite for this point symbolvoid
setDisplacementX
(float displacementX) Sets the point symbol x displacementvoid
setDisplacementY
(float displacementY) Sets the point symbol y displacementvoid
setRotation
(float rotation) Sets the point symbol rotation, in radians.
-
Method Details
-
getRotation
float getRotation()The point symbol rotation, in radians. -
getDisplacementX
float getDisplacementX()The point symbol x displacement -
getDisplacementY
float getDisplacementY()The point symbol y displacement -
getAnchorPointX
float getAnchorPointX()The point symbol x anchor, between 0 and 1, defaults to 0.5 -
getAnchorPointY
float getAnchorPointY()The point symbol y anchor, between 0 and 1, defaults to 0.5 -
setRotation
void setRotation(float rotation) Sets the point symbol rotation, in radians. -
setDisplacementX
void setDisplacementX(float displacementX) Sets the point symbol x displacement -
setDisplacementY
void setDisplacementY(float displacementY) Sets the point symbol y displacement -
setAnchorPointX
void setAnchorPointX(float anchorPointX) Sets the point symbol x anchor, between 0 and 1 -
setAnchorPointY
void setAnchorPointY(float anchorPointY) Sets the point symbol y anchor, between 0 and 1 -
getComposite
Composite getComposite()Returns the composite for this point symbol -
setComposite
Sets the composite for this point symbol
-