Added in API level 1

Paint.Align


public static final enum Paint.Align
extends Enum<Paint.Align>

java.lang.Object
   ↳ java.lang.Enum<android.graphics.Paint.Align>
     ↳ android.graphics.Paint.Align


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

Summary

Enum values

Paint.Align  CENTER

The text is drawn centered horizontally on the x,y origin 

Paint.Align  LEFT

The text is drawn to the right of the x,y origin 

Paint.Align  RIGHT

The text is drawn to the left of the x,y origin 

Public methods

static Paint.Align valueOf(String name)
static final Align[] values()

Inherited methods

Enum values

CENTER

Added in API level 1
public static final Paint.Align CENTER

The text is drawn centered horizontally on the x,y origin

LEFT

Added in API level 1
public static final Paint.Align LEFT

The text is drawn to the right of the x,y origin

Added in API level 1
public static final Paint.Align RIGHT

The text is drawn to the left of the x,y origin

Public methods

valueOf

public static Paint.Align valueOf (String name)

Parameters
name String

Returns
Paint.Align

values

public static final Align[] values ()

Returns
Align[]