Rect Methods

 

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

NameDescription
System_CAPS_pubmethodContains(Double, Double)

Indicates whether the rectangle contains the specified x-coordinate and y-coordinate.

System_CAPS_pubmethodContains(Point)

Indicates whether the rectangle contains the specified point.

System_CAPS_pubmethodContains(Rect)

Indicates whether the rectangle contains the specified rectangle.

System_CAPS_pubmethodEquals(Object)

Indicates whether the specified object is equal to the current rectangle.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodEquals(Rect)

Indicates whether the specified rectangle is equal to the current rectangle.

System_CAPS_pubmethodSystem_CAPS_staticEquals(Rect, Rect)

Indicates whether the specified rectangles are equal.

System_CAPS_pubmethodGetHashCode()

Creates a hash code for the rectangle. (Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInflate(Double, Double)

Expands or shrinks the rectangle by using the specified width and height amounts, in all directions.

System_CAPS_pubmethodSystem_CAPS_staticInflate(Rect, Double, Double)

Creates a rectangle that results from expanding or shrinking the specified rectangle by the specified width and height amounts, in all directions.

System_CAPS_pubmethodSystem_CAPS_staticInflate(Rect, Size)

Returns the rectangle that results from expanding the specified rectangle by the specified Size, in all directions.

System_CAPS_pubmethodInflate(Size)

Expands the rectangle by using the specified Size, in all directions.

System_CAPS_pubmethodIntersect(Rect)

Finds the intersection of the current rectangle and the specified rectangle, and stores the result as the current rectangle.

System_CAPS_pubmethodSystem_CAPS_staticIntersect(Rect, Rect)

Returns the intersection of the specified rectangles.

System_CAPS_pubmethodIntersectsWith(Rect)

Indicates whether the specified rectangle intersects with the current rectangle.

System_CAPS_pubmethodOffset(Double, Double)

Moves the rectangle by the specified horizontal and vertical amounts.

System_CAPS_pubmethodSystem_CAPS_staticOffset(Rect, Double, Double)

Returns a rectangle that is offset from the specified rectangle by using the specified horizontal and vertical amounts.

System_CAPS_pubmethodSystem_CAPS_staticOffset(Rect, Vector)

Returns a rectangle that is offset from the specified rectangle by using the specified vector.

System_CAPS_pubmethodOffset(Vector)

Moves the rectangle by the specified vector.

System_CAPS_pubmethodSystem_CAPS_staticParse(String)

Creates a new rectangle from the specified string representation.

System_CAPS_pubmethodScale(Double, Double)

Multiplies the size of the current rectangle by the specified x and y values.

System_CAPS_pubmethodToString()

Returns a string representation of the rectangle. (Overrides ValueType.ToString().)

System_CAPS_pubmethodToString(IFormatProvider)

Returns a string representation of the rectangle by using the specified format provider.

System_CAPS_pubmethodTransform(Matrix)

Transforms the rectangle by applying the specified matrix.

System_CAPS_pubmethodSystem_CAPS_staticTransform(Rect, Matrix)

Returns the rectangle that results from applying the specified matrix to the specified rectangle.

System_CAPS_pubmethodUnion(Point)

Expands the current rectangle exactly enough to contain the specified point.

System_CAPS_pubmethodUnion(Rect)

Expands the current rectangle exactly enough to contain the specified rectangle.

System_CAPS_pubmethodSystem_CAPS_staticUnion(Rect, Point)

Creates a rectangle that is exactly large enough to include the specified rectangle and the specified point.

System_CAPS_pubmethodSystem_CAPS_staticUnion(Rect, Rect)

Creates a rectangle that is exactly large enough to contain the two specified rectangles.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIFormattable.ToString(String, IFormatProvider)

Formats the value of the current instance using the specified format.

Return to top
Show: