Upravit

Sdílet prostřednictvím


iPhoneOSGameView.Size Property

Definition

The size of the current view.

public System.Drawing.Size Size { get; set; }
member this.Size : System.Drawing.Size with get, set

Property Value

A Size which is the size of the current view.

Implements

Exceptions

The instance has had Dispose(Boolean) invoked on it.

Remarks

This differs from Bounds in that Size's Width and Height are of type T:System.Int32, while Bound's Width and Height are of type T:System.Single (i.e. integer vs. floating-point). OpenGL uses integral types, so Size is a simple way to get sizes in a form usable by OpenGL.

Applies to