←Select platform
In This Topic ▼

LeadRect Structure Members

Summary

The following tables list the members exposed by LeadRect.

Public Constructors

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

Public Methods

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

Public Properties

Name Description
Public Property Bottom Gets the y-coordinate of the lower-right corner of this LeadRect structure.
Public Property Empty Represents a new instance of the LeadRect with uninitialized members.
Public Property Height Gets or sets the height of this LeadRect structure.
Public Property IsEmpty Gets a value indicating whether this LeadRect structure is empty.
Public Property Left Gets the x-coordinate of the left edge of this LeadRect structure.
Public Property Location Gets or sets the coordinates of the upper-left corner of this LeadRect structure.
Public Property Right Gets the x-coordinate of the upper-right corner of this LeadRect structure.
Public Property Size Gets or sets the size of this LeadRect.
Public Property Top Gets the y-coordinate of the top edge of this LeadRect structure.
Public Property Width Gets or sets the width of this LeadRect structure.
Public Property X Gets or sets the x-coordinate of the upper-left corner of this LeadRect structure.
Public Property Y Gets or sets the y-coordinate of the upper-left corner of this LeadRect structure.

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly