| Constructor and Description |
|---|
PointF() |
PointF(float x,
float y)
Initializes a new instance of the PointF structure with the specified coordinates.
|
| Modifier and Type | Method and Description |
|---|---|
static PointF |
add(PointF orig,
Size size)
|
static PointF |
add(PointF orig,
SizeF sizeF)
|
Object |
clone() |
PointF |
Clone() |
void |
CloneTo(PointF that) |
boolean |
equals(Object obj)
|
boolean |
equals(PointF other)
|
static PointF |
getEmpty() |
float |
getX()
Gets the x-coordinate of this PointF.
|
float |
getY()
Gets the y-coordinate of this PointF.
|
int |
hashCode()
Returns a hash code for this instance.
|
boolean |
isEmpty()
Gets a value indicating whether this
PointF is empty. |
static boolean |
isEquals(PointF obj1,
PointF obj2) |
static PointF |
op_Addition(PointF pt,
Size sz) |
static PointF |
op_Addition(PointF pt,
SizeF sz) |
static boolean |
op_Equality(PointF left,
PointF right)
Compares two
PointF structures. |
static boolean |
op_Inequality(PointF left,
PointF right)
Determines whether the coordinates of the specified points are not equal.
|
static PointF |
op_Subtraction(PointF pt,
Size sz) |
static PointF |
op_Subtraction(PointF pt,
SizeF sz) |
void |
setX(float value)
Sets the x-coordinate of this PointF.
|
void |
setY(float value)
Sets the y-coordinate of this PointF.
|
static PointF |
subtract(PointF pt,
Size sz) |
static PointF |
subtract(PointF pt,
SizeF sz) |
String |
toString() |
public PointF()
public PointF(float x,
float y)
Initializes a new instance of the PointF structure with the specified coordinates.
x - The horizontal position of the point.y - The vertical position of the point.public static boolean op_Inequality(PointF left, PointF right)
Determines whether the coordinates of the specified points are not equal.
public static PointF getEmpty()
public final boolean isEmpty()
Gets a value indicating whether this PointF is empty.
PointF is empty.public final float getX()
Gets the x-coordinate of this PointF.
public final void setX(float value)
Sets the x-coordinate of this PointF.
value - the x-coordinate of this PointF.public final float getY()
Gets the y-coordinate of this PointF.
public final void setY(float value)
Sets the y-coordinate of this PointF.
value - the y-coordinate of this PointF.public boolean equals(Object obj)
public int hashCode()
Returns a hash code for this instance.
public final boolean equals(PointF other)
public void CloneTo(PointF that)
CloneTo in class com.aspose.ms.System.ValueType<PointF>Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.