Represents a pair of floating point x- and y-coordinates that defines a point
in a two-dimensional plane.
Namespace: PdfEdit.Drawing
Assembly: PdfPrintingNet (in PdfPrintingNet.dll) Version: 5.1.1.0 (5.1.1.0)
Syntax
The XPoint type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| XPoint(Point) |
Initializes a new instance of the XPoint class with the specified point.
| |
| XPoint(PointF) |
Initializes a new instance of the XPoint class with the specified point.
| |
| XPoint(Double, Double) |
Initializes a new instance of the XPoint class with the specified coordinates.
|
Methods
| Name | Description | |
|---|---|---|
| Add |
Adds a point and a vector.
| |
| Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
| Equals(XPoint) |
Indicates whether this instance and a specified point are equal.
| |
| Equals(XPoint, XPoint) |
Indicates whether the specified points are equal.
| |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Multiply |
Multiplies a point with a matrix.
| |
| Offset |
Offsets the x and y value of this point.
| |
| Parse |
Parses the point from a string.
| |
| ParsePoints |
Parses an array of points from a string.
| |
| Subtract(XPoint, XPoint) |
Subtracts a point from a point.
| |
| Subtract(XPoint, XVector) |
Subtracts a vector from a point.
| |
| ToPointF |
Converts this XPoint to a System.Drawing.Point.
| |
| ToString |
Converts this XPoint to a human readable string.
(Overrides ValueTypeToString.) | |
| ToString(IFormatProvider) |
Converts this XPoint to a human readable string.
|
Operators
| Name | Description | |
|---|---|---|
| Addition(XPoint, XSize) |
Adds a point and a size.
| |
| Addition(XPoint, XVector) |
Adds a point and a vector.
| |
| Equality |
Determines whether two points are equal.
| |
| (XPoint to XSize) |
Performs an explicit conversion from XPoint to XSize.
| |
| (XPoint to XVector) |
Performs an explicit conversion from XPoint to XVector.
| |
| Inequality |
Determines whether two points are not equal.
| |
| Multiply(Double, XPoint) |
Multiplies a point with a scalar value.
| |
| Multiply(XPoint, XMatrix) |
Multiplies a point with a matrix.
| |
| Multiply(XPoint, Double) |
Multiplies a point with a scalar value.
| |
| Subtraction(XPoint, XPoint) |
Subtracts a point from a point.
| |
| Subtraction(XPoint, XSize) | Obsolete.
Subtracts a size from a point.
| |
| Subtraction(XPoint, XVector) |
Subtracts a vector from a point.
|
Properties
| Name | Description | |
|---|---|---|
| X |
Gets the x-coordinate of this XPoint.
| |
| Y |
Gets the x-coordinate of this XPoint.
|
See Also