Struct PdfRect
Represents a normalized bounding rectangle [0.0, 1.0] or physical point bounds.
public readonly record struct PdfRect : IEquatable<PdfRect>
- Implements
- Inherited Members
Constructors
PdfRect(double, double, double, double)
Represents a normalized bounding rectangle [0.0, 1.0] or physical point bounds.
public PdfRect(double X, double Y, double Width, double Height)
Parameters
Fields
Empty
public static readonly PdfRect Empty
Field Value
Properties
Bottom
public double Bottom { get; }
Property Value
Height
public double Height { get; init; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Left
public double Left { get; }
Property Value
Right
public double Right { get; }
Property Value
Top
public double Top { get; }
Property Value
Width
public double Width { get; init; }
Property Value
X
public double X { get; init; }
Property Value
Y
public double Y { get; init; }
Property Value
Methods
Contains(PdfPoint)
public bool Contains(PdfPoint point)
Parameters
pointPdfPoint
Returns
Contains(double, double)
public bool Contains(double px, double py)
Parameters
Returns
IntersectsWith(PdfRect)
public bool IntersectsWith(PdfRect rect)
Parameters
rectPdfRect