com.aspose.font

Interfaces

Classes

Enums

Exceptions

com.aspose.font

Class LineTo

    • Method Detail

      • getX

        public double getX()

        Gets coordinate x.

        Returns:
        Coordinate x.
      • getY

        public double getY()

        Gets coordinate y.

        Returns:
        Coordinate y.
      • copy

        public IPathSegment copy()

        Creates copy of the segment object.

        Specified by:
        copy in interface IPathSegment
        Returns:
        Copy of the segment object.
      • shift

        public void shift(double dx,
                          double dy)

        Performs shift by x and y coordinates.

        Specified by:
        shift in interface IPathSegment
        Parameters:
        dx - Value dx.
        dy - Value dy.
      • transform

        public void transform(TransformationMatrix matrix)

        Transforms coordinates with the transformation matrix.

        Specified by:
        transform in interface IPathSegment
        Parameters:
        matrix - Transformation matrix.
      • clone

        public Object clone()

        Creates a new object that is a copy of the current instance.

        Overrides:
        clone in class Object
        Returns:
        A new object that is a copy of this instance.