public class Point extends com.aspose.ms.lang.Struct<Point>
Represents point.
Constructor and Description |
---|
Point() |
Point(float x,
float y)
Initializes a new instance of the
Point struct. |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Point |
Clone() |
void |
CloneTo(Point that) |
boolean |
equals(Object obj)
Determines whether the specified point is equal to the current point.
|
static boolean |
equals(Point obj1,
Point obj2) |
float |
getX()
Gets or sets the x.
|
float |
getY()
Gets or sets the y.
|
int |
hashCode()
Serves as the default hash function.
|
static boolean |
isPointCollectionsEqual(List<Point> points1,
List<Point> points2) |
static boolean |
op_Equality(Point left,
Point right)
Compares two Point objects.
|
static boolean |
op_Inequality(Point left,
Point right)
Compares two Point objects.
|
void |
setX(float value)
Gets or sets the x.
|
void |
setY(float value)
Gets or sets the y.
|
String |
toString() |
public Point()
public Point(float x, float y)
Initializes a new instance of the Point
struct.
x
- The x.y
- The y.public void CloneTo(Point that)
CloneTo
in class com.aspose.ms.System.ValueType<Point>
public boolean equals(Object obj)
Determines whether the specified point is equal to the current point.
public final float getX()
Gets or sets the x.
Value: The x.public final float getY()
Gets or sets the y.
Value: The y.public int hashCode()
Serves as the default hash function.
public static boolean isPointCollectionsEqual(List<Point> points1, List<Point> points2)
public static boolean op_Equality(Point left, Point right)
Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are equal.
left
- A Point to compare.right
- A Point to compare.public static boolean op_Inequality(Point left, Point right)
Compares two Point objects. The result specifies whether the values of the Point.X and Point.Y properties of the two Point objects are not equal.
left
- A Point to compare.right
- A Point to compare.public final void setX(float value)
Gets or sets the x.
Value: The x.value
- public final void setY(float value)
Gets or sets the y.
Value: The y.value
-