Click or drag to resize

Rect Methods

The Rect type exposes the following members.

Methods
  NameDescription
Public methodAttach
Attaches the Cos/SDF object to the Rect.
Public methodClose
Public methodContains
Determines if the specified point is contained within the rectangular region defined by this Rectangle.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGet
Gets the rectangle coordinates.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodHeight
Gets the height of this Rect.
Public methodInflate(Double)
Inflates this Rect.
Public methodInflate(Double, Double)
Inflates this Rect with the specified x and y values.
Public methodIntersectRect
Makes a Rect equal to the intersection of two existing rectangles.
Public methodNormalize
Normalizes the rectagle to the one with lower-left and upper-right corners.
Public methodSet(Rect)
Set the coordinates of the rectangle.
Public methodSet(Double, Double, Double, Double)
Sets the coordinates of the rectangle.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Saves changes made to the Rect object in the attached (or specified) SDF/Cos rectangle.
Public methodUpdate(Obj)
Saves changes made to the Rect object in the attached (or specified) SDF/Cos rectangle.
Public methodWidth
Gets the width of this Rect.
Top
See Also