The following tables list the members exposed by LeadRectD.
Public Constructors
Name | Description | |
---|---|---|
LeadRectD | Creates a new LeadRectD object. |
Public Methods
Name | Description | |
---|---|---|
clone | Creates an exact copy of this LeadRectD. | |
contains | Determines whether the specified point is contained within this LeadRectD. | |
containsPoint | Determines whether the specified point is contained within this LeadRectD. | |
containsRect | Determines if the rectangular region represented by the specified value is entirely contained within this LeadRectD. | |
create | Initializes a new LeadRectD object with explicit parameters. | |
equals | Specifies whether two LeadRectD contain the same coordinates. | |
fromJSON | Converts a JSON-compatible dictionary object to a new LeadRectD instance. | |
fromLTRB | Creates a LeadRectD with the specified edge locations. | |
inflate | Inflates this LeadRectD by the specified amount. | |
inflateRect | Returns a LeadRectD resulting from inflating the specified rectangle by the specified amount. | |
intersect | Replaces this LeadRectD with the intersection of itself and the specified LeadRectD. | |
intersectRects | Returns a LeadRectD that represents the intersection of two rectangles. | |
intersectsWith | Determines if this LeadRectD intersects with a test value. | |
offset | Adjusts the location of this rectangle by the specified amount. | |
scale | Scales this LeadRectD by the specified amount. | |
toJSON | Converts this LeadRectD to a JSON-compatible dictionary object. | |
toString | Converts this LeadRectD to a human-readable string. | |
union | Combines this LeadRectD with the specified value. | |
unionRects | Gets a LeadRectD that contains the union of two rectangles. |
Public Properties
Name | Description | |
---|---|---|
bottom | Gets the y-coordinate of the bottom edge of this LeadRectD. | |
bottomLeft | Gets a LeadPointD that represents the bottom-left edge of this LeadRectD. | |
bottomRight | Gets a LeadPointD that represents the bottom-right edge of this LeadRectD. | |
empty | Gets a value that represents a static empty LeadRectD. | |
height | Gets or sets the height of this LeadRectD. | |
isEmpty | Gets a value that indicates whether this instance of LeadRectD is Empty. | |
left | Gets the x-coordinate of the left edge of this LeadRectD. | |
location | Gets or sets the coordinates of the upper-left corner of this LeadRectD. | |
right | Gets the x-coordinate of the right edge of this LeadRectD. | |
size | Gets or sets the size of this LeadRectD. | |
top | Gets the y-coordinate of the top edge of this LeadRectD. | |
topLeft | Gets a LeadPointD that represents the top-left edge of this LeadRectD. | |
topRight | Gets a LeadPointD that represents the top-right edge of this LeadRectD. | |
width | Gets or sets the width of this LeadRectD. | |
x | Gets or sets the x-coordinate of the upper-left corner of this LeadRectD. | |
y | Gets or sets the y-coordinate of the upper-left corner of this LeadRectD. |