Class MoveTo

  • All Implemented Interfaces:
    IPathShape

    public class MoveTo
    extends AbstractPathShape
    Implements moveTo(M) attribute of SVG's path element.
    • Constructor Detail

      • MoveTo

        public MoveTo()
        Creates new MoveTo instance.
      • MoveTo

        public MoveTo​(boolean relative)
        Creates new MoveTo instance.
        Parameters:
        relative - true in case it is a relative operator, false if it is an absolute operator
    • Method Detail

      • setCoordinates

        public void setCoordinates​(java.lang.String[] inputCoordinates,
                                   Point startPoint)
        Description copied from interface: IPathShape
        This method sets the coordinates for the path painting operator and does internal preprocessing, if necessary
        Parameters:
        inputCoordinates - an array containing point values for path coordinates
        startPoint - the ending point of the previous operator, or, in broader terms, the point that the coordinates should be absolutized against, for relative operators