Struct PdfPoint
A 2-D point in PDF user-space units.
Assembly: DRIT.Pdf.dll
Syntax
public readonly struct PdfPoint : IEquatable<PdfPoint>
Constructors
PdfPoint(double, double)
Initializes a new PdfPoint with the specified coordinates.
Declaration
public PdfPoint(double x, double y)
Parameters
Properties
X
Gets the X (horizontal) coordinate of the point.
Declaration
Property Value
Y
Gets the Y (vertical) coordinate of the point.
Declaration
Property Value
Methods
Equals(PdfPoint)
Indicates whether this point equals another.
Declaration
public bool Equals(PdfPoint other)
Parameters
Returns
Equals(object?)
Indicates whether this point equals another object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
GetHashCode()
Returns a hash code for this point.
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Returns a string representation of the point in the format (x, y).
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(PdfPoint, PdfPoint)
Indicates whether two PdfPoint instances are equal.
Declaration
public static bool operator ==(PdfPoint a, PdfPoint b)
Parameters
Returns
operator !=(PdfPoint, PdfPoint)
Indicates whether two PdfPoint instances are not equal.
Declaration
public static bool operator !=(PdfPoint a, PdfPoint b)
Parameters
Returns
Implements