Namespace: BitMiracle.Docotic.Pdf
[SerializableAttribute] public struct PdfRectangle
<SerializableAttribute> Public Structure PdfRectangle
The PdfRectangle type exposes the following members.
Name | Description | |
---|---|---|
![]() | PdfRectangle(PdfPoint, PdfSize) |
Initializes a new instance of the PdfRectangle struct with the
specified location and size.
|
![]() | PdfRectangle(Double, Double, Double, Double) |
Initializes a new instance of the PdfRectangle struct with the
specified location and size.
|
![]() | PdfRectangle(Single, Single, Single, Single) |
Initializes a new instance of the PdfRectangle struct with the
specified location and size.
|
Name | Description | |
---|---|---|
![]() | Bottom |
Gets the y-coordinate that is the sum of PdfRectangle.Y and
PdfRectangle.Height of this PdfRectangle
structure.
|
![]() | Height |
Gets or sets the height of this PdfRectangle structure.
|
![]() | IsEmpty |
Tests whether the PdfRectangle.Width or
PdfRectangle.Height property of this PdfRectangle
has a value of zero.
|
![]() | Left |
Gets the x-coordinate of the left edge of this PdfRectangle
structure.
|
![]() | Location |
Gets or sets the coordinates of the upper-left corner of this
PdfRectangle structure.
|
![]() | Right |
Gets the x-coordinate that is the sum of PdfRectangle.X and
PdfRectangle.Width of this PdfRectangle structure.
|
![]() | Size |
Gets or sets the size of this PdfRectangle.
|
![]() | Top |
Gets the y-coordinate of the top edge of this PdfRectangle
structure.
|
![]() | Width |
Gets or sets the width of this PdfRectangle structure.
|
![]() | X |
Gets or sets the x-coordinate of the upper-left corner of this
PdfRectangle structure.
|
![]() | Y |
Gets or sets the y-coordinate of the upper-left corner of this
PdfRectangle structure.
|
Name | Description | |
---|---|---|
![]() | Contains(PdfPoint) |
Determines if the specified point is contained within this
PdfRectangle structure.
|
![]() | Contains(PdfRectangle) |
Determines if the rectangular region represented by rect
is entirely contained within this PdfRectangle structure.
|
![]() | Contains(Double, Double) |
Determines if the specified point is contained within this
PdfRectangle structure.
|
![]() | Contains(Single, Single) |
Determines if the specified point is contained within this
PdfRectangle structure.
|
![]() | Equals |
Tests whether obj is a PdfRectangle with
the same location and size of this PdfRectangle.
(Overrides ValueType.Equals(Object).) |
![]() ![]() | FromLTRB(Double, Double, Double, Double) |
Creates a PdfRectangle structure with upper-left corner and
lower-right corner at the specified locations.
|
![]() ![]() | FromLTRB(Single, Single, Single, Single) |
Creates a PdfRectangle structure with upper-left corner and
lower-right corner at the specified locations.
|
![]() | GetHashCode |
Gets the hash code for this PdfRectangle structure.
(Overrides ValueType.GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Inflate(PdfSize) |
Inflates this PdfRectangle by the specified amount.
|
![]() | Inflate(Double, Double) |
Inflates this PdfRectangle by the specified amount.
|
![]() | Inflate(Single, Single) |
Inflates this PdfRectangle by the specified amount.
|
![]() ![]() | Inflate(PdfRectangle, Double, Double) |
Creates and returns an inflated copy of the specified
PdfRectangle structure. The copy is inflated by the specified
amount. The original rectangle remains unmodified.
|
![]() | Intersect(PdfRectangle) |
Replaces this PdfRectangle structure with the intersection of
itself and the specified PdfRectangle structure.
|
![]() ![]() | Intersect(PdfRectangle, PdfRectangle) |
Returns a PdfRectangle structure that represents the
intersection of two rectangles. If there is no intersection, an empty
PdfRectangle is returned.
|
![]() | IntersectsWith |
Determines if this rectangle intersects with rect.
|
![]() | Offset(PdfPoint) |
Adjusts the location of this rectangle by the specified amount.
|
![]() | Offset(Double, Double) |
Adjusts the location of this rectangle by the specified amount.
|
![]() | Offset(Single, Single) |
Adjusts the location of this rectangle by the specified amount.
|
![]() | ToString() |
Converts the Location and Size of this PdfRectangle to a
human-readable string.
(Overrides ValueType.ToString().) |
![]() | ToString(IFormatProvider) |
Converts the Location and Size of this PdfRectangle to a
human-readable string.
|
![]() ![]() | Union |
Creates the smallest possible third rectangle that can contain both of two
rectangles that form a union.
|
Name | Description | |
---|---|---|
![]() ![]() | Equality |
Tests whether two PdfRectangle structures have equal location
and size.
|
![]() ![]() | Inequality |
Tests whether two PdfRectangle structures differ in location
or size.
|
Name | Description | |
---|---|---|
![]() ![]() | Empty |
Represents an instance of the PdfRectangle struct with its
members uninitialized.
|
Name | Description | |
---|---|---|
![]() | Contains(PointF) | Overloaded.
Determines if the specified point is contained within this
PdfRectangle structure.
(Defined by PdfRectangleGdiExtensions.) |
![]() | Contains(RectangleF) | Overloaded.
Determines if the rectangular region represented by rect
is entirely contained within this PdfRectangle structure.
(Defined by PdfRectangleGdiExtensions.) |
![]() | Inflate |
Inflates this PdfRectangle by the specified amount.
(Defined by PdfRectangleGdiExtensions.) |
![]() | Intersect |
Replaces this PdfRectangle structure with the intersection of
itself and the specified RectangleF structure.
(Defined by PdfRectangleGdiExtensions.) |
![]() | IntersectsWith |
Determines if this rectangle intersects with rect.
(Defined by PdfRectangleGdiExtensions.) |
![]() | Offset |
Adjusts the location of this rectangle by the specified amount.
(Defined by PdfRectangleGdiExtensions.) |
![]() | ToRectangleF |
Converts this PdfRectangle to a RectangleF.
(Defined by PdfRectangleGdiExtensions.) |