Box2 Struct
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a 2d box (rectangle).
public struct Box2
type Box2 = struct
- Inheritance
-
Box2
Box2(Single, Single, Single, Single) |
Constructs a new Box2 with the specified dimensions. |
Box2(Vector2, Vector2) |
Constructs a new Box2 with the specified dimensions. |
Bottom |
The bottom boundary of the structure. |
Left |
The left boundary of the structure. |
Right |
The right boundary of the structure. |
Top |
The top boundary of the structure. |
Height |
Gets a float describing the height of the Box2 structure. |
Width |
Gets a float describing the width of the Box2 structure. |
Product | Versions |
---|---|
Xamarin iOS SDK | 12 |