iOS Guides | Samples

OpenTK.Box2 Structure

Defines a 2d box (rectangle).

See Also: Box2

Syntax

public struct Box2

Requirements

Namespace: OpenTK
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of OpenTK.Box2 are listed below.

See Also: ValueType

Public Constructors

Constructs a new Box2 with the specified dimensions.
Constructs a new Box2 with the specified dimensions.

Public Fields

BottomSingle. The bottom boundary of the structure.
LeftSingle. The left boundary of the structure.
RightSingle. The right boundary of the structure.
TopSingle. The top boundary of the structure.

Public Properties

[read-only]
HeightSingle. Gets a float describing the height of the Box2 structure.
[read-only]
WidthSingle. Gets a float describing the width of the Box2 structure.

Public Methods