Extension methods to help with operations associated with the
- Base Types
graph BT Type-->Base0["object"] Type["RectangleMathExtensions"] class Type type-node
public static class RectangleMathExtensions
Determine the center of a Rectangle.
Creates a new RectangleF as a Copy of an existing one . value is useful when you have a rectangle that is almost what you want, but you just want to change a couple properties.
Divide the specified Rectangle into two component rectangles.
Divide the specified Rectangle into two component rectangles, adding a padding between them.
Vertically inverts the coordinates of the rectangle within containingRect. value can effectively be used to change the coordinate system of a rectangle. For example, if `rect` is defined for a coordinate system starting at the top-left, the result will be a rectangle relative to the bottom-left.