Click or drag to resize

RectangleD2D Methods

The RectangleD2D type exposes the following members.

Methods
 NameDescription
Public methodContains(PointD2D) 
Public methodContains(RectangleD2D) 
Public methodEquals(Object)Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodEquals(RectangleD2D)Indicates whether the current object is equal to another object of the same type.
Public methodExpandExpands the rectangle by the specified margin.
Public methodExpandToInclude(PointD2D) Expands this rectangle, so that it contains the point p.
Public methodExpandToInclude(RectangleD2D) Expands this rectangle, so that it now includes its former shape, and the rectangle provided in the argument.
Public methodStatic memberExpandToInclude(NullableRectangleD2D, NullableRectangleD2D) Gets the rectangular bounding box that includes both rectangles.
Public methodStatic memberFromLTRB(PointD2D, PointD2D) Creates a rectangle from the left, top, right and bottom coordinate values.
Public methodStatic memberFromLTRB(Double, Double, Double, Double) Creates a rectangle from the left, top, right and bottom coordinate values.
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInflateInflates the rectangle by the specified values x and y.
Public methodIntersectsWith Tests if this rectangle and the provided rectangle intersects.
Public methodStatic memberNewRectangleIncludingAllPoints Creates a rectangle that includes all the provided points.
Public methodOffsetChanges the location of the rectangle by the specified values for x and y.
Public methodToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
Top
Extension Methods
 NameDescription
Public Extension MethodGetIncludedTransformedRectangle Calculates the dimensions of the greatest (by area) rectangle included in an outer rectangle, where the inner rectangle is rotated/sheared/scaled.
(Defined by RectangleD2DExtensions)
Public Extension MethodToGdi
(Defined by GeometryToSystemDrawingConversions)
Public Extension MethodToGdiRectangle
(Defined by GeometryToSystemDrawingConversions)
Top
See Also