Point

Overview

Point is a class in Aspose.PDF FOSS for Java.

Represents a point in 2D space with double-precision coordinates.

This class provides 6 methods for working with Point objects in Java programs. Available methods include: Point, getX, getY, setX, setY, toString. All public members are accessible to any Java application after installing the Aspose.PDF FOSS for Java package. Properties: x, y.

Properties

NameTypeAccessDescription
xdoubleReadReturns the x coordinate.
ydoubleReadReturns the y coordinate.

Methods

SignatureDescription
Point(x: double, y: double)Creates a point at the specified coordinates.
getX()doubleReturns the x coordinate.
setX(x: double)Sets the x coordinate.
getY()doubleReturns the y coordinate.
setY(y: double)Sets the y coordinate.
toString()StringReturns a string representation of this point.

See Also

 English