Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Sharpex2D
Math
Rectangle
Rectangle
Sharpex2D.Math.Rectangle.Rectangle C# (CSharp) Méthode
Rectangle Class Documentation
Afficher le fichier
Open project: ThuCommix/Sharpex2D
Rectangle()
public
méthode
Initializes a new instance of the
Rectangle
struct.
public
Rectangle
(
Vector2
a
,
Vector2
b
) :
System
a
Vector2
The first vector.
b
Vector2
The second vector.
Résultat
System
public Rectangle(Vector2 a, Vector2 b) { _x = a.X; _y = a.Y; _width = b.X; _height = b.Y; }
Same methods
Rectangle::
Rectangle
(
float
x
,
float
y
,
float
width
,
float
height
) :
System
Rectangle
Contains
Intersect
Intersects
Rectangle
ToString
operator