Class IconStyle2D

    • Constructor Detail

      • IconStyle2D

        public IconStyle2D​(Icon icon,
                           Object feature,
                           float displacementX,
                           float displacementY,
                           float rotation)
      • IconStyle2D

        public IconStyle2D​(Icon icon,
                           Object feature)
    • Method Detail

      • getRotation

        public float getRotation()
        The Icon rotation, in radians.
        Specified by:
        getRotation in interface PointStyle2D
        Returns:
        icon rotation, in radians.
      • getComposite

        public Composite getComposite()
        The icon composite
        Specified by:
        getComposite in interface PointStyle2D
      • getIcon

        public Icon getIcon()
        Returns the icon backing this style
      • setIcon

        public void setIcon​(Icon icon)
      • setRotation

        public void setRotation​(float rotation)
        Description copied from interface: PointStyle2D
        Sets the point symbol rotation, in radians.
        Specified by:
        setRotation in interface PointStyle2D
      • setComposite

        public void setComposite​(Composite composite)
        Description copied from interface: PointStyle2D
        Sets the composite for this point symbol
        Specified by:
        setComposite in interface PointStyle2D
      • setDisplacementX

        public void setDisplacementX​(float displacementX)
        Description copied from interface: PointStyle2D
        Sets the point symbol x displacement
        Specified by:
        setDisplacementX in interface PointStyle2D
      • setDisplacementY

        public void setDisplacementY​(float displacementY)
        Description copied from interface: PointStyle2D
        Sets the point symbol y displacement
        Specified by:
        setDisplacementY in interface PointStyle2D
      • getAnchorPointX

        public float getAnchorPointX()
        Description copied from interface: PointStyle2D
        The point symbol x anchor, between 0 and 1, defaults to 0.5
        Specified by:
        getAnchorPointX in interface PointStyle2D
      • setAnchorPointX

        public void setAnchorPointX​(float anchorPointX)
        Description copied from interface: PointStyle2D
        Sets the point symbol x anchor, between 0 and 1
        Specified by:
        setAnchorPointX in interface PointStyle2D
      • getAnchorPointY

        public float getAnchorPointY()
        Description copied from interface: PointStyle2D
        The point symbol y anchor, between 0 and 1, defaults to 0.5
        Specified by:
        getAnchorPointY in interface PointStyle2D
      • setAnchorPointY

        public void setAnchorPointY​(float anchorPointY)
        Description copied from interface: PointStyle2D
        Sets the point symbol y anchor, between 0 and 1
        Specified by:
        setAnchorPointY in interface PointStyle2D