←Select platform

LeadRectD Structure Members

Summary

The following tables list the members exposed by LeadRectD.

Public Constructors

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

Public Methods

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

Public Properties

Name Description
Public Property Bottom Gets the y-axis value of the bottom side of the rectangle.
Public Property BottomLeft Gets the position of the bottom-left corner of the rectangle.
Public Property BottomRight Gets the position of the bottom-right corner of the rectangle.
Public Property static  | Shared in VB Empty Gets a special value that represents a rectangle with no coordinates.
Public Property Height Gets or sets the height of the rectangle.
Public Property IsEmpty Gets a value that indicates whether the rectangle is the Empty rectangle.
Public Property IsZero Determine if this LeadRectD object has zero values for x, y, width and height.
Public Property Left Gets the x-axis value of the left side of the rectangle.
Public Property Location Gets or sets the position of the top-left corner of the rectangle.
Public Property Right Gets the x-axis value of the right side of the rectangle.
Public Property Size Gets or sets the width and height of the rectangle.
Public Property Top Gets the y-axis value of the top side of the rectangle.
Public Property TopLeft Gets the position of the top-left corner of the rectangle.
Public Property TopRight Gets the position of the top-right corner of the rectangle.
Public Property Width Gets or sets the width of the rectangle.
Public Property X Gets or sets the x-axis value of the left side of the rectangle.
Public Property Y Gets or sets the y-axis value of the top side of the rectangle.
Public Property static  | Shared in VB Zero Gets a rectangle that contains 0 for x, y, width and height.

See Also

LeadRectD Structure

Leadtools Namespace

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

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.