←Select platform

LeadRect Structure Members

Summary

The following tables list the members exposed by LeadRect.

Public Constructors

Name Description
LeadRect Initializes a new instance of the LeadRect class with the specified location and size.

Public Methods

Name Description
!= Specifies whether this LeadRect does not contain the same location and size as the specified object.
== Specifies whether this LeadRect contains the same location and size as the specified object.
Contains Determines if the rectangular region represented by rect is entirely contained within this LeadRect structure.
Create Initializes a new LeadRect object with explicit parameters.
Equals Determines whether the specified object equals this LeadRect object.
FromLTRB Returns a LeadRect structure with the specified edge locations.
GetHashCode Returns the hash code for this LeadRect structure.
Inflate Inflates this LeadRect structure by the specified amount.
Intersect Returns an LeadRect structure that represents the intersection of two rectangles. If there is no intersection, an empty rectangle is returned.
IntersectsWith Determines if this rectangle intersects with a test rectangle.
Normalize Gets the normalized version of a rectangle so that both the height and width are positive.
Offset Adjusts the location of this rectangle by the specified amount.
Parse Parses a string and returns a new instance of LeadRect from it.
ToLeadRectD Converts this LeadRect to a LeadRectD.
ToString Converts this LeadRect to a human-readable string using the specified format and provider.
Union Gets a rectangle structure that contains the union of two rectangle structures.

Public Properties

Name Description
Bottom Gets the y-coordinate of the lower-right corner of this LeadRect structure.
Empty Represents a new instance of the LeadRect with uninitialized members.
Height Gets or sets the height of this LeadRect structure.
IsEmpty Gets a value indicating whether this LeadRect structure is empty.
Left Gets the x-coordinate of the left edge of this LeadRect structure.
Location Gets or sets the coordinates of the upper-left corner of this LeadRect structure.
Right Gets the x-coordinate of the upper-right corner of this LeadRect structure.
Size Gets or sets the size of this LeadRect.
Top Gets the y-coordinate of the top edge of this LeadRect structure.
Width Gets or sets the width of this LeadRect structure.
X Gets or sets the x-coordinate of the upper-left corner of this LeadRect structure.
Y Gets or sets the y-coordinate of the upper-left corner of this LeadRect structure.
Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly