Android Guides | Samples

Android.Util.Size Class

Immutable class for describing width and height dimensions in pixels.

See Also: Size

Syntax

[Android.Runtime.Register("android/util/Size", DoNotGenerateAcw=true)]
public sealed class Size : Object

Remarks

Immutable class for describing width and height dimensions in pixels.

[Android Documentation]

Requirements

Namespace: Android.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Util.Size are listed below.

See Also: Object

Public Constructors

Create a new immutable Size instance.

Public Properties

[read-only]
HeightInt32. Get the height of the size (in pixels).
[read-only]
WidthInt32. Get the width of the size (in pixels).

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
ParseSize(String) : Size
Parses the specified string as a size value.