←Select platform

LeadRectD Structure Members

Summary

The following tables list the members exposed by LeadRectD.

Public Constructors

Name Description
LeadRectD Initializes a new instance of LeadRectD that is of the specified size and is located at (0,0).

Public Methods

Name Description
!= Specifies whether two LeadRectD structures do not contain the same values.
== Specifies whether two LeadRectD structures contain the same values.
Clone Returns an exact copy of this LeadRectD
Contains Indicates whether the rectangle contains the specified point.
ContainsPoint Indicates whether the rectangle contains the specified point.
ContainsRect Indicates whether the rectangle contains the specified rectangle.
Create Creates a new instance of LeadRectD with the specified x-coordinate, y-coordinate, width, and height.
Equals Specifies whether this LeadRectD structure contains the same values as the specified object.
FromLTRB Creates a new instance of LeadRectD with the specified values top-left and bottom-right corner points.
GetHashCode Returns a hash code for this LeadRectD structure.
Inflate Expands the rectangle by using the specified width and height, in all directions.
InflateRect Returns the rectangle that results from expanding the specified rectangle by the specified width and height, in all directions.
InflateRects Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.
InflateSize Expands the rectangle by using the specified size, in all directions.
Intersect Finds the intersection of the current rectangle and the specified rectangle, and stores the result as the current rectangle.
IntersectRects Returns the intersection of the specified rectangles.
IntersectsWith Indicates whether the specified rectangle intersects with the current rectangle.
Offset Moves the rectangle by the specified horizontal and vertical amounts.
OffsetRect Returns a rectangle that is offset from the specified rectangle by using the specified horizontal and vertical amounts.
OffsetRect (ObjectiveC) Returns a rectangle that is offset from the specified rectangle by using the specified horizontal and vertical amounts.
Parse Parses a string and returns a new instance of LeadRectD from it.
Scale Multiplies the size of the current rectangle by the specified x and y values.
ToLeadRect Converts this LeadRectD to a LeadRect.
ToString Converts this LeadRectD to a human-readable string using the specified format and provider.
Transform Transforms the rectangle by applying the specified matrix.
TransformRect Transforms a rectangle by applying the specified matrix.
Union Creates a rectangle that is exactly large enough to include the specified rectangle and the specified point
UnionRects Creates a rectangle that is exactly large enough to contain the two specified rectangles.

Public Properties

Name Description
Bottom Gets the y-axis value of the bottom side of the rectangle.
BottomLeft Gets the position of the bottom-left corner of the rectangle.
BottomRight Gets the position of the bottom-right corner of the rectangle.
Empty Gets a special value that represents a rectangle with no coordinates.
Height Gets or sets the height of the rectangle.
IsEmpty Gets a value that indicates whether the rectangle is the Empty rectangle.
Left Gets the x-axis value of the left side of the rectangle.
Location Gets or sets the position of the top-left corner of the rectangle.
Right Gets the x-axis value of the right side of the rectangle.
Size Gets or sets the width and height of the rectangle.
Top Gets the y-axis value of the top side of the rectangle.
TopLeft Gets the position of the top-left corner of the rectangle.
TopRight Gets the position of the top-right corner of the rectangle.
Width Gets or sets the width of the rectangle.
X Gets or sets the x-axis value of the left side of the rectangle.
Y Gets or sets the y-axis value of the top side of the rectangle.
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools Assembly
Click or drag to resize