Added in API level 1

Align


class Align
kotlin.Any
   ↳ kotlin.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

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

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

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

Enum values

CENTER

Added in API level 1
enum val CENTER : Paint.Align

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

LEFT

Added in API level 1
enum val LEFT : Paint.Align

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

Added in API level 1
enum val RIGHT : Paint.Align

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