com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class Point



  • public final class Point
    extends Object

    Represent point with fractional coordinates.

    • Constructor Summary

      Constructors 
      Constructor and Description
      Point(double x, double y)
      Initializes new instance of the Point.
    • Constructor Detail

      • Point

        public Point(double x,
             double y)

        Initializes new instance of the Point.

        Parameters:
        x - x coordinate value.
        y - y coordinate value.
    • Method Detail

      • getX

        public double getX()

        Gets X coordinate value.

        Returns:
        double value
      • setX

        public void setX(double value)

        Sets X coordinate value.

        Parameters:
        value - double value
      • getY

        public double getY()

        Gets Y coordinate value.

        Returns:
        double value
      • setY

        public void setY(double value)

        Sets Y coordinate value.

        Parameters:
        value - double value
      • getTrivial

        public static Point getTrivial()

        Gets point with zero coordinates.

        Returns:
        Point object
      • toPoint

        public Point2D.Float toPoint()

        Converts point into java.awt.geom.Point2D.Float object.

        Returns:
        Float structure.