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 TypeMethodDescriptionfloatThe point symbol x anchor, between 0 and 1, defaults to 0.5floatThe point symbol y anchor, between 0 and 1, defaults to 0.5Returns the composite for this point symbolfloatThe point symbol x displacementfloatThe point symbol y displacementdoubleThe 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 Details
-
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
Sets the composite for this point symbol
-