Class PxlPointF
Represents a floating-point coordinate within the SDK coordinate space.
Namespace: ImageSdkWrapper Assembly: ImageSdkWrapper.MAUI
Inheritance: object
public class PxlPointF
Constructor
PxlPointF(PxlPoint)
Creates a floating-point point from an integer point.
public PxlPointF(PxlPoint p)
Parameters
p(PxlPoint)
PxlPointF(float, float)
Initialises a point with explicit coordinates.
public PxlPointF(float xx, float yy)
Parameters
xx(float)yy(float)
Field
X
X coordinate.
public float X
Returns
- float
Y
Y coordinate.
public float Y
Returns
- float
Method
Equals(PxlPointF)
Compares two points for coordinate equality.
public bool Equals(PxlPointF o)
Parameters
o(PxlPointF): Other point.
Returns
- bool:
truewhen both coordinates match; otherwisefalse.
Offset(float, float)
Offsets the coordinate by the supplied delta.
public void Offset(float xx, float yy)
Parameters
xx(float)yy(float)
Reset()
Resets the coordinate to the origin.
public void Reset()
Set(float, float)
Updates the coordinate in place.
public void Set(float xx, float yy)
Parameters
xx(float)yy(float)