Click or drag to resize

RectangleD3D Methods

The RectangleD3D type exposes the following members.

Methods
 NameDescription
Public methodContains Determines whether the specified point is contained in this rectangle.
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object))
Public methodGetHashCodeReturns the hash code for this instance.
(Overrides ValueTypeGetHashCode)
Public methodStatic memberGetTriangleIndices Gets the triangle indices of all faces using the vertices returned by Vertices. The order is front, back, top, bottom, left, right.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberNewRectangleIncludingAllPoints Creates a new rectangle that includes all the provided points.
Public methodToStringReturns the fully qualified type name of this instance.
(Overrides ValueTypeToString)
Public methodWithLocation Returns a new instance with the specified location.
Public methodWithOffsetChanges the location of the rectangle by the specified values for x and y.
Public methodWithPaddingInflates the rectangle by the specified values x and y.
Public methodWithPointsIncluded Returns a rectangle that is based on the current rectangle, but was expanded to include all the provided points.
Public methodWithRectangleIncluded Returns a rectangle that is based on the current rectangle, but was expanded to include all vertex points of the provided rectangle r.
Public methodWithSize Returns a new instance with the specified size.
Public methodWithSizePlus Returns a new instance with the specified size offset applied.
Public methodWithSizeX Returns a new instance with SizeX set to the provided value.
Public methodWithSizeXPlus Returns a new instance with SizeX increased by the provided value.
Public methodWithSizeY Returns a new instance with SizeY set to the provided value.
Public methodWithSizeYPlus Returns a new instance with SizeY increased by the provided value.
Public methodWithSizeZ Returns a new instance with SizeZ set to the provided value.
Public methodWithSizeZPlus Returns a new instance with SizeZ increased by the provided value.
Public methodWithX Returns a new instance with X set to the provided value.
Public methodWithXPlus Returns a new instance with X set to the X plus the provided value.
Public methodWithY Returns a new instance with Y set to the provided value.
Public methodWithYPlus Returns a new instance with Y set to the Y plus the provided value.
Public methodWithZ Returns a new instance with Z set to the provided value.
Public methodWithZPlus Returns a new instance with Z set to the Z plus the provided value.
Top
See Also