Click or drag to resize

Rectangle Structure

Represents a rectangle with double precision floating values.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public struct Rectangle

The Rectangle type exposes the following members.

Constructors
  NameDescription
Public methodRectangle(Rectangle)
Initializes a new instance of the Rectangle class
Public methodRectangle(RectangleF)
Initializes a new instance of the Rectangle class
Public methodRectangle(RectangleI)
Initializes a new instance of the Rectangle class
Public methodRectangle(Vector2)
Initializes a new instance of the Rectangle class
Public methodRectangle(Vector2, Vector2)
Initializes a new instance of the Rectangle class
Public methodRectangle(Double, Double, Double, Double)
Initializes a new instance of the Rectangle class
Top
Properties
Methods
  NameDescription
Public methodAdd(Rectangle)
Public methodAdd(Vector2)
Public methodAdd(Vector2)
Public methodStatic memberAdd(Rectangle, Vector2, Rectangle)
Public methodStatic memberAdd(Vector2, Rectangle, Rectangle)
Public methodContains(Rectangle)
Public methodContains(Rectangle)
Public methodContains(Vector2)
Public methodContains(Vector2)
Public methodStatic memberDivide
Public methodEquals(Object) (Overrides ValueTypeEquals(Object).)
Public methodEquals(Rectangle, Double)
Public methodExpand(Double)
Public methodExpand(Vector2)
Public methodGetCenter
Public methodGetCenter(Vector2)
Public methodGetHashCode (Overrides ValueTypeGetHashCode.)
Public methodGetPointDistance
Public methodGetPointDistanceSquared(Vector2)
Public methodGetPointDistanceSquared(Vector2)
Public methodGetSize
Public methodGetSize(Vector2)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIntersection(Rectangle)
Public methodIntersection(Rectangle, Rectangle)
Public methodIntersects(Rectangle)
Public methodIntersects(Rectangle)
Public methodIsCleared
Public methodIsInvalid
Public methodStatic memberMultiply(Rectangle, Vector2, Rectangle)
Public methodStatic memberMultiply(Vector2, Rectangle, Rectangle)
Public methodStatic memberParse
Public methodStatic memberSubtract(Rectangle, Vector2, Rectangle)
Public methodStatic memberSubtract(Vector2, Rectangle, Rectangle)
Public methodToRectangleF
Public methodToRectangleI
Public methodToString (Overrides ValueTypeToString.)
Public methodToString(Int32)
Top
Operators
Fields
Extension Methods
See Also