Android Guides | Samples

Android.Util.SizeF Class

Immutable class for describing width and height dimensions in some arbitrary unit.

See Also: SizeF

Syntax

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

Remarks

Immutable class for describing width and height dimensions in some arbitrary unit.

Width and height are finite values stored as a floating point representation.

[Android Documentation]

Requirements

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

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

See Also: Object

Public Constructors

Create a new immutable SizeF instance.

Public Properties

[read-only]
HeightSingle. Get the height of the size (as an arbitrary unit).
[read-only]
WidthSingle. Get the width of the size (as an arbitrary unit).

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
ParseSizeF(String) : SizeF
Parses the specified string as a size value.