Struct RectangleF | Terminal.Gui v1 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Stores the location and size of a rectangular region.
public struct RectangleF : IEquatable<RectangleF>
Implements
Inherited Members
Constructors
RectangleF(float, float, float, float)
Initializes a new instance of the RectangleF class with the specified location and size.
Initializes a new instance of the RectangleF class with the specified location and size.
Fields
Initializes a new instance of the RectangleF class.
Properties
Gets the y-coordinate of the lower-right corner of the rectangular region defined by thisRectangleF.
Gets or sets the height of the rectangular region defined by this RectangleF.
Tests whether this RectangleF has a Width or a Height of 0.
Gets the x-coordinate of the upper-left corner of the rectangular region defined by thisRectangleF .
Gets or sets the coordinates of the upper-left corner of the rectangular region represented by thisRectangleF.
Gets the x-coordinate of the lower-right corner of the rectangular region defined by thisRectangleF.
Gets or sets the size of this RectangleF.
Gets the y-coordinate of the upper-left corner of the rectangular region defined by thisRectangleF.
Gets or sets the width of the rectangular region defined by this RectangleF.
Gets or sets the x-coordinate of the upper-left corner of the rectangular region defined by thisRectangleF.
Gets or sets the y-coordinate of the upper-left corner of the rectangular region defined by thisRectangleF.
Methods
Determines if the specified point is contained within the rectangular region defined by thisRect .
Determines if the specified point is contained within the rectangular region defined by thisRect .
Determines if the rectangular region represented by rect
is entirely contained within the rectangular region represented by this Rect .
Tests whether obj
is a RectangleF with the same location and size of this RectangleF.
Returns true if two RectangleF objects have equal location and size.
FromLTRB(float, float, float, float)
Creates a new RectangleF with the specified location and size.
Gets the hash code for this RectangleF.
Inflates this Rect by the specified amount.
Inflate(RectangleF, float, float)
Creates a Rect that is inflated by the specified amount.
Inflates this Rect by the specified amount.
Creates a Rectangle that represents the intersection between this Rectangle and rect.
Intersect(RectangleF, RectangleF)
Creates a rectangle that represents the intersection between a and b. If there is no intersection, an empty rectangle is returned.
Determines if this rectangle intersects with rect.
Adjusts the location of this rectangle by the specified amount.
Adjusts the location of this rectangle by the specified amount.
Converts the Location and Sizeof this RectangleF to a human-readable string.
Creates a rectangle that represents the union between a and b.
Operators
operator ==(RectangleF, RectangleF)
Tests whether two RectangleF objects have equal location and size.
implicit operator RectangleF(Rect)
Converts the specified Rect to aRectangleF.
operator !=(RectangleF, RectangleF)
Tests whether two RectangleF objects differ in location or size.