Stores a set of four floating-point numbers that represent the location and size of a rectangle.  
 More...
 | 
|   | XRect (double x, double y, double width, double height) | 
|   | Initializes a new instance of the XRect class.  More...
  | 
|   | 
|   | XRect (XPoint point1, XPoint point2) | 
|   | Initializes a new instance of the XRect class.  More...
  | 
|   | 
|   | XRect (XPoint point, XVector vector) | 
|   | Initializes a new instance of the XRect class.  More...
  | 
|   | 
|   | XRect (XPoint location, XSize size) | 
|   | Initializes a new instance of the XRect class.  More...
  | 
|   | 
|   | XRect (XSize size) | 
|   | Initializes a new instance of the XRect class.  More...
  | 
|   | 
|   | XRect (Rect rect) | 
|   | Initializes a new instance of the XRect class.  More...
  | 
|   | 
| override bool  | Equals (object o) | 
|   | Determines whether this instance and the specified object are equal.  More...
  | 
|   | 
| bool  | Equals (XRect value) | 
|   | Determines whether this instance and the specified rect are equal.  More...
  | 
|   | 
| override int  | GetHashCode () | 
|   | Returns the hash code for this instance.  More...
  | 
|   | 
| override string  | ToString () | 
|   | Converts this XRect to a human readable string.  More...
  | 
|   | 
| string  | ToString (IFormatProvider provider) | 
|   | Converts this XRect to a human readable string.  More...
  | 
|   | 
| string IFormattable.  | ToString (string format, IFormatProvider provider) | 
|   | Converts this XRect to a human readable string.  More...
  | 
|   | 
| bool  | Contains (XPoint point) | 
|   | Indicates whether the rectangle contains the specified point.  More...
  | 
|   | 
| bool  | Contains (double x, double y) | 
|   | Indicates whether the rectangle contains the specified point.  More...
  | 
|   | 
| bool  | Contains (XRect rect) | 
|   | Indicates whether the rectangle contains the specified rectangle.  More...
  | 
|   | 
| bool  | IntersectsWith (XRect rect) | 
|   | Indicates whether the specified rectangle intersects with the current rectangle.  More...
  | 
|   | 
| void  | Intersect (XRect rect) | 
|   | Sets current rectangle to the intersection of the current rectangle and the specified rectangle.  More...
  | 
|   | 
| void  | Union (XRect rect) | 
|   | Sets current rectangle to the union of the current rectangle and the specified rectangle.  More...
  | 
|   | 
| void  | Union (XPoint point) | 
|   | Sets current rectangle to the union of the current rectangle and the specified point.  More...
  | 
|   | 
| void  | Offset (XVector offsetVector) | 
|   | Moves a rectangle by the specified amount.  More...
  | 
|   | 
| void  | Offset (double offsetX, double offsetY) | 
|   | Moves a rectangle by the specified amount.  More...
  | 
|   | 
| void  | Inflate (XSize size) | 
|   | Expands the rectangle by using the specified Size, in all directions.  More...
  | 
|   | 
| void  | Inflate (double width, double height) | 
|   | Expands or shrinks the rectangle by using the specified width and height amounts, in all directions.  More...
  | 
|   | 
| void  | Transform (XMatrix matrix) | 
|   | Transforms the rectangle by applying the specified matrix.  More...
  | 
|   | 
| void  | Scale (double scaleX, double scaleY) | 
|   | Multiplies the size of the current rectangle by the specified x and y values.  More...
  | 
|   | 
| bool  | ContainsInternal (double x, double y) | 
|   | 
 | 
| static XRect  | FromLTRB (double left, double top, double right, double bottom) | 
|   | Creates a rectangle from for straight lines.  More...
  | 
|   | 
| static bool  | operator== (XRect rect1, XRect rect2) | 
|   | Determines whether the two rectangles are equal.  More...
  | 
|   | 
| static bool  | operator!= (XRect rect1, XRect rect2) | 
|   | Determines whether the two rectangles are not equal.  More...
  | 
|   | 
| static bool  | Equals (XRect rect1, XRect rect2) | 
|   | Determines whether the two rectangles are equal.  More...
  | 
|   | 
| static XRect  | Parse (string source) | 
|   | Parses the rectangle from a string.  More...
  | 
|   | 
| static XRect  | Intersect (XRect rect1, XRect rect2) | 
|   | Returns the intersection of two rectangles.  More...
  | 
|   | 
| static XRect  | Union (XRect rect1, XRect rect2) | 
|   | Returns the union of two rectangles.  More...
  | 
|   | 
| static XRect  | Union (XRect rect, XPoint point) | 
|   | Returns the intersection of a rectangle and a point.  More...
  | 
|   | 
| static XRect  | Offset (XRect rect, XVector offsetVector) | 
|   | Returns a rectangle that is offset from the specified rectangle by using the specified vector.  More...
  | 
|   | 
| static XRect  | Offset (XRect rect, double offsetX, double offsetY) | 
|   | Returns a rectangle that is offset from the specified rectangle by using specified horizontal and vertical amounts.  More...
  | 
|   | 
| static XRect  | operator+ (XRect rect, XPoint point) | 
|   | Translates the rectangle by adding the specified point.  More...
  | 
|   | 
| static XRect  | operator- (XRect rect, XPoint point) | 
|   | Translates the rectangle by subtracting the specified point.  More...
  | 
|   | 
| static XRect  | Inflate (XRect rect, XSize size) | 
|   | Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.  More...
  | 
|   | 
| static XRect  | Inflate (XRect rect, double width, double height) | 
|   | Creates a rectangle that results from expanding or shrinking the specified rectangle by the specified width and height amounts, in all directions.  More...
  | 
|   | 
| static XRect  | Transform (XRect rect, XMatrix matrix) | 
|   | Returns the rectangle that results from applying the specified matrix to the specified rectangle.  More...
  | 
|   | 
| static implicit  | operator XRect (Rect rect) | 
|   | Performs an implicit conversion from System.Windows.Rect to XRect.  More...
  | 
|   | 
| static XRect  | CreateEmptyRect () | 
|   | 
| static  | XRect () | 
|   | 
 | 
| static XRect  | Empty [get] | 
|   | Gets the empty rectangle.  More...
  | 
|   | 
| bool  | IsEmpty [get] | 
|   | Gets a value indicating whether this instance is empty.  More...
  | 
|   | 
| XPoint  | Location [get, set] | 
|   | Gets or sets the location of the rectangle.  More...
  | 
|   | 
| XSize  | Size [get, set] | 
|   | Gets or sets the size of the rectangle.  More...
  | 
|   | 
| double  | X [get, set] | 
|   | Gets or sets the X value of the rectangle.  More...
  | 
|   | 
| double  | Y [get, set] | 
|   | Gets or sets the Y value of the rectangle.  More...
  | 
|   | 
| double  | Width [get, set] | 
|   | Gets or sets the width of the rectangle.  More...
  | 
|   | 
| double  | Height [get, set] | 
|   | Gets or sets the height of the rectangle.  More...
  | 
|   | 
| double  | Left [get] | 
|   | Gets the x-axis value of the left side of the rectangle.  More...
  | 
|   | 
| double  | Top [get] | 
|   | Gets the y-axis value of the top side of the rectangle.  More...
  | 
|   | 
| double  | Right [get] | 
|   | Gets the x-axis value of the right side of the rectangle.  More...
  | 
|   | 
| double  | Bottom [get] | 
|   | Gets the y-axis value of the bottom side of the rectangle.  More...
  | 
|   | 
| XPoint  | TopLeft [get] | 
|   | Gets the position of the top-left corner of the rectangle.  More...
  | 
|   | 
| XPoint  | TopRight [get] | 
|   | Gets the position of the top-right corner of the rectangle.  More...
  | 
|   | 
| XPoint  | BottomLeft [get] | 
|   | Gets the position of the bottom-left corner of the rectangle.  More...
  | 
|   | 
| XPoint  | BottomRight [get] | 
|   | Gets the position of the bottom-right corner of the rectangle.  More...
  | 
|   | 
| XPoint  | Center [get] | 
|   | Gets the center of the rectangle.  More...
  | 
|   | 
Stores a set of four floating-point numbers that represent the location and size of a rectangle.