Progress® Telerik® Reporting R3 2017

RectangleU Structure

Stores a set of four Unit-based numbers that represent the location and size of a rectangle.

Namespace:  Telerik.Reporting.Drawing
Assembly:  Telerik.Reporting (in Telerik.Reporting.dll)

Syntax

public struct RectangleU

The RectangleU type exposes the following members.

Constructors

  NameDescription
Public methodRectangleU(Rectangle)
Initializes a new instance of the RectangleU class from the specified Rectangle.
Public methodRectangleU(RectangleF)
Initializes a new instance of the RectangleU class from the specified RectangleF.
Public methodRectangleU(PointU, SizeU)
Initializes a new instance of the RectangleU class with the specified location and size.
Public methodRectangleU(Unit, Unit, Unit, Unit)
Initializes a new instance of the RectangleU class with the specified location and size.
Top

Properties

  NameDescription
Public propertyBottom
Gets the y-coordinate that is the sum of Y and Height of this RectangleU structure.
Public propertyHeight
Gets or sets the height of this RectangleU structure.
Public propertyIsEmpty
Tests whether the X, Y, Width, and Height properties of this RectangleU have a value of zero.
Public propertyLeft
Gets the x-coordinate of the left edge of this RectangleU structure.
Public propertyLocation
Gets or sets the coordinates of the upper-left corner of this RectangleU structure.
Public propertyRight
Gets the x-coordinate that is the sum of X and Width of this RectangleU structure.
Public propertySize
Gets or sets the size of this RectangleU.
Public propertyTop
Gets the y-coordinate of the left edge of this RectangleU structure.
Public propertyWidth
Gets or sets the width of this RectangleU structure.
Public propertyX
Gets or sets the x-coordinate of the upper-left corner of this RectangleU structure.
Public propertyY
Gets or sets the y-coordinate of the upper-left corner of this RectangleU structure.
Top

Methods

  NameDescription
Public methodContains(PointU)
Determines if the specified point is contained within this RectangleU structure.
Public methodContains(RectangleU)
Determines if the rectangular region represented by rect is entirely contained within this RectangleU structure.
Public methodContains(Unit, Unit)
Determines if the specified point is contained within this RectangleU structure.
Public methodEquals
Tests whether obj is a RectangleU with the same location and size of this RectangleU.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns a hash code for this RectangleU structure.
(Overrides ValueTypeGetHashCode.)
Public methodInflate(SizeU)
Inflates this RectangleU structure by the specified amount.
Public methodInflate(Unit, Unit)
Inflates this RectangleU structure by the specified amount.
Public methodStatic memberInflate(RectangleU, Unit, Unit)
Inflates rect by the specified amount.
Public methodIntersectsWith
Determines if this rectangle intersects with rect.
Public methodOffset(PointU)
Adjusts the location of this rectangle by the specified amount.
Public methodOffset(Unit, Unit)
Adjusts the location of this rectangle by the specified amount.
Public methodToString
Converts the Location and Size of this RectangleU to a human-readable string.
(Overrides ValueTypeToString.)
Public methodToString(CultureInfo)
Converts the Location and Size of this RectangleU to a human-readable string.
Top

Operators

  NameDescription
Public operatorStatic memberEquality
Tests whether two RectangleU structures have equal location and size.
Public operatorStatic member(RectangleU to Rectangle)
Converts the specified RectangleU structure to a Rectangle structure.
Public operatorStatic member(RectangleU to RectangleF)
Converts the specified RectangleU structure to a RectangleF structure.
Public operatorStatic memberInequality
Tests whether two RectangleU structures differ in location or size.
Top

Fields

  NameDescription
Public fieldStatic memberEmpty
Represents an instance of the RectangleU class with its members uninitialized.
Top

Remarks

A RectangleU is defined by its width, height, and upper-left corner.

See Also