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 Type
    Method
    Description
    float
    The point symbol x anchor, between 0 and 1, defaults to 0.5
    float
    The point symbol y anchor, between 0 and 1, defaults to 0.5
    Returns the composite for this point symbol
    float
    The point symbol x displacement
    float
    The point symbol y displacement
    float
    The point symbol rotation, in radians.
    void
    setAnchorPointX(float anchorPointX)
    Sets the point symbol x anchor, between 0 and 1
    void
    setAnchorPointY(float anchorPointY)
    Sets the point symbol y anchor, between 0 and 1
    void
    Sets the composite for this point symbol
    void
    setDisplacementX(float displacementX)
    Sets the point symbol x displacement
    void
    setDisplacementY(float displacementY)
    Sets the point symbol y displacement
    void
    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

      void setComposite(Composite composite)
      Sets the composite for this point symbol