Android Guides | Samples

Android.Graphics.Paint.Align Class

Align specifies how drawText aligns its text relative to the [x,y] coordinates.

See Also: Paint+Align

Syntax

[Android.Runtime.Register("android/graphics/Paint$Align", DoNotGenerateAcw=true)]
public sealed class Paint.Align : Enum

Remarks

Align specifies how drawText aligns its text relative to the [x,y] coordinates. The default is LEFT.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Android.Graphics.Paint.Align are listed below.

See Also: Enum

Public Properties

[read-only]
static
CenterPaint+Align. The text is drawn centered horizontally on the x,y origin
[read-only]
static
LeftPaint+Align. The text is drawn to the right of the x,y origin
[read-only]
static
RightPaint+Align. The text is drawn to the left of the x,y origin

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