Class LineTo

    • Constructor Detail

      • LineTo

        public LineTo()
        Creates new LineTo instance.
      • LineTo

        public LineTo​(boolean relative)
        Creates new LineTo 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