Android
android.graphics
public static final enum

android.graphics.Paint.Align

java.lang.Object
java.lang.Enum<E extends java.lang.Enum<E>> Serializable Comparable<T>
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)
    final  static    Align[]  values()
Methods inherited from class java.lang.Enum
Methods inherited from class java.lang.Object
Methods inherited from interface java.lang.Comparable

Details

Enum Values

public static final Paint.Align CENTER

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

public static final Paint.Align LEFT

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

public static final Paint.Align RIGHT

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

Public Methods

public static Paint.Align valueOf(String name)

public static final Align[] values()

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48