Package org.geotools.renderer.style
Interface PointStyle2D
-
- All Known Implementing Classes:
GraphicStyle2D,IconStyle2D,MarkStyle2D
public interface PointStyle2DA 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 floatgetAnchorPointX()The point symbol x anchor, between 0 and 1, defaults to 0.5floatgetAnchorPointY()The point symbol y anchor, between 0 and 1, defaults to 0.5CompositegetComposite()Returns the composite for this point symbolfloatgetDisplacementX()The point symbol x displacementfloatgetDisplacementY()The point symbol y displacementdoublegetRotation()The point symbol rotation, in radians.voidsetAnchorPointX(float anchorPointX)Sets the point symbol x anchor, between 0 and 1voidsetAnchorPointY(float anchorPointY)Sets the point symbol y anchor, between 0 and 1voidsetComposite(Composite composite)Sets the composite for this point symbolvoidsetDisplacementX(float displacementX)Sets the point symbol x displacementvoidsetDisplacementY(float displacementY)Sets the point symbol y displacementvoidsetRotation(double rotation)Sets the point symbol rotation, in radians.
-
-
-
Method Detail
-
getRotation
double 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(double 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
-
-