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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getAnchorPointX()
The point symbol x anchor, between 0 and 1, defaults to 0.5float
getAnchorPointY()
The point symbol y anchor, between 0 and 1, defaults to 0.5Composite
getComposite()
Returns the composite for this point symbolfloat
getDisplacementX()
The point symbol x displacementfloat
getDisplacementY()
The point symbol y displacementfloat
getRotation()
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 Detail
-
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
void setComposite(Composite composite)
Sets the composite for this point symbol
-
-