|
PdfSharp-WPF
1.31.7289
|
Represents a pair of floating point x- and y-coordinates that defines a point in a two-dimensional plane. More...
Public Member Functions | |
| XPoint (double x, double y) | |
| Initializes a new instance of the XPoint class with the specified coordinates. More... | |
| XPoint (System.Windows.Point point) | |
| Initializes a new instance of the XPoint class with the specified point. More... | |
| override bool | Equals (object o) |
| Indicates whether this instance and a specified object are equal. More... | |
| bool | Equals (XPoint value) |
| Indicates whether this instance and a specified point are equal. More... | |
| override int | GetHashCode () |
| Returns the hash code for this instance. More... | |
| System.Windows.Point | ToPoint () |
| Converts this XPoint to a System.Windows.Point. More... | |
| override string | ToString () |
| Converts this XPoint to a human readable string. More... | |
| string | ToString (IFormatProvider provider) |
| Converts this XPoint to a human readable string. More... | |
| string IFormattable. | ToString (string format, IFormatProvider provider) |
| Converts this XPoint to a human readable string. More... | |
| void | Offset (double offsetX, double offsetY) |
| Offsets the x and y value of this point. More... | |
Static Public Member Functions | |
| static bool | operator== (XPoint point1, XPoint point2) |
| Determines whether two points are equal. More... | |
| static bool | operator!= (XPoint point1, XPoint point2) |
| Determines whether two points are not equal. More... | |
| static bool | Equals (XPoint point1, XPoint point2) |
| Indicates whether the specified points are equal. More... | |
| static XPoint | Parse (string source) |
| Parses the point from a string. More... | |
| static XPoint[] | ParsePoints (string value) |
| Parses an array of points from a string. More... | |
| static XPoint | operator+ (XPoint point, XVector vector) |
| Adds a point and a vector. More... | |
| static XPoint | operator+ (XPoint point, XSize size) |
| Adds a point and a size. More... | |
| static XPoint | Add (XPoint point, XVector vector) |
| Adds a point and a vector. More... | |
| static XPoint | operator- (XPoint point, XVector vector) |
| Subtracts a vector from a point. More... | |
| static XPoint | Subtract (XPoint point, XVector vector) |
| Subtracts a vector from a point. More... | |
| static XVector | operator- (XPoint point1, XPoint point2) |
| Subtracts a point from a point. More... | |
| static XPoint | operator- (XPoint point, XSize size) |
| Subtracts a size from a point. More... | |
| static XVector | Subtract (XPoint point1, XPoint point2) |
| Subtracts a point from a point. More... | |
| static XPoint | operator* (XPoint point, XMatrix matrix) |
| Multiplies a point with a matrix. More... | |
| static XPoint | Multiply (XPoint point, XMatrix matrix) |
| Multiplies a point with a matrix. More... | |
| static XPoint | operator* (XPoint point, double value) |
| Multiplies a point with a scalar value. More... | |
| static XPoint | operator* (double value, XPoint point) |
| Multiplies a point with a scalar value. More... | |
| static XPoint | operator/ (XPoint point, double value) |
| Divides a point by a scalar value. More... | |
| static | operator XSize (XPoint point) |
| Performs an explicit conversion from XPoint to XSize. More... | |
| static | operator XVector (XPoint point) |
| Performs an explicit conversion from XPoint to XVector. More... | |
| static implicit | operator System.Windows.Point (XPoint point) |
| Performs an implicit conversion from XPoint to Point. More... | |
| static implicit | operator XPoint (System.Windows.Point point) |
| Performs an implicit conversion from Point to XPoint. More... | |
Static Public Attributes | |
| static readonly XPoint | Empty = new XPoint() |
| For convergence with WPF use new XPoint(), not XPoint.Empty More... | |
Properties | |
| double | X [get, set] |
| Gets the x-coordinate of this XPoint. More... | |
| double | Y [get, set] |
| Gets the x-coordinate of this XPoint. More... | |
| bool | IsEmpty [get] |
| Indicates whether this XPoint is empty. More... | |
Represents a pair of floating point x- and y-coordinates that defines a point in a two-dimensional plane.
| PdfSharp.Drawing.XPoint.XPoint | ( | double | x, |
| double | y | ||
| ) |
Initializes a new instance of the XPoint class with the specified coordinates.
| PdfSharp.Drawing.XPoint.XPoint | ( | System.Windows.Point | point | ) |
Initializes a new instance of the XPoint class with the specified point.
Adds a point and a vector.
| override bool PdfSharp.Drawing.XPoint.Equals | ( | object | o | ) |
Indicates whether this instance and a specified object are equal.
Indicates whether the specified points are equal.
| bool PdfSharp.Drawing.XPoint.Equals | ( | XPoint | value | ) |
Indicates whether this instance and a specified point are equal.
| override int PdfSharp.Drawing.XPoint.GetHashCode | ( | ) |
Returns the hash code for this instance.
Multiplies a point with a matrix.
| void PdfSharp.Drawing.XPoint.Offset | ( | double | offsetX, |
| double | offsetY | ||
| ) |
Offsets the x and y value of this point.
|
static |
Performs an implicit conversion from XPoint to Point.
|
static |
Performs an implicit conversion from Point to XPoint.
Determines whether two points are not equal.
Multiplies a point with a scalar value.
Multiplies a point with a scalar value.
Multiplies a point with a matrix.
Adds a point and a size.
Adds a point and a vector.
Subtracts a size from a point.
Subtracts a vector from a point.
Subtracts a point from a point.
Divides a point by a scalar value.
Determines whether two points are equal.
|
static |
Parses the point from a string.
|
static |
Parses an array of points from a string.
Subtracts a vector from a point.
Subtracts a point from a point.
| System.Windows.Point PdfSharp.Drawing.XPoint.ToPoint | ( | ) |
Converts this XPoint to a System.Windows.Point.
| override string PdfSharp.Drawing.XPoint.ToString | ( | ) |
Converts this XPoint to a human readable string.
| string PdfSharp.Drawing.XPoint.ToString | ( | IFormatProvider | provider | ) |
Converts this XPoint to a human readable string.
| string IFormattable. PdfSharp.Drawing.XPoint.ToString | ( | string | format, |
| IFormatProvider | provider | ||
| ) |
Converts this XPoint to a human readable string.
For convergence with WPF use new XPoint(), not XPoint.Empty
|
get |
Indicates whether this XPoint is empty.
|
getset |
Gets the x-coordinate of this XPoint.
|
getset |
Gets the x-coordinate of this XPoint.