Class PointPlacementImpl

    • Field Detail

      • DEFAULT_ANCHOR_POINT

        public static final AnchorPoint DEFAULT_ANCHOR_POINT
    • Constructor Detail

      • PointPlacementImpl

        public PointPlacementImpl()
      • PointPlacementImpl

        public PointPlacementImpl​(FilterFactory factory)
    • Method Detail

      • getAnchorPoint

        public AnchorPoint getAnchorPoint()
        Returns the AnchorPoint which identifies the location inside a text label to use as an "anchor" for positioning it relative to a point geometry.
        Specified by:
        getAnchorPoint in interface PointPlacement
        Returns:
        Label's AnchorPoint.
      • setAnchorPoint

        public void setAnchorPoint​(AnchorPoint anchorPoint)
        Setter for property anchorPoint.
        Specified by:
        setAnchorPoint in interface PointPlacement
        Parameters:
        anchorPoint - New value of property anchorPoint.
      • getDisplacement

        public Displacement getDisplacement()
        Returns the Displacement which gives X and Y offset displacements to use for rendering a text label near a point.
        Specified by:
        getDisplacement in interface PointPlacement
        Returns:
        The label displacement.
      • setDisplacement

        public void setDisplacement​(Displacement displacement)
        Setter for property displacement.
        Specified by:
        setDisplacement in interface PointPlacement
        Parameters:
        displacement - New value of property displacement.
      • setRotation

        public void setRotation​(Expression rotation)
        Setter for property rotation.
        Specified by:
        setRotation in interface PointPlacement
        Parameters:
        rotation - New value of property rotation.
      • clone

        public Object clone()
        Description copied from interface: Cloneable
        Creates and returns a copy of this object. The precise meaning of "copy" may depend on the class of the object.
        Specified by:
        clone in interface Cloneable
        Overrides:
        clone in class Object
        Returns:
        A copy of this object.
        See Also:
        Object.clone()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object