Most visited

Recently visited

Text.VerticalAlignment

public static final enum Text.VerticalAlignment
extends Enum<Text.VerticalAlignment>

java.lang.Object
   ↳ java.lang.Enum<com.viro.core.Text.VerticalAlignment>
     ↳ com.viro.core.Text.VerticalAlignment


Controls the vertical alignment of Text within its bounds.

Summary

Enum values

Text.VerticalAlignment  BOTTOM

The bottom of the last line of text is flush with the bottom of the Text's bounds. 

Text.VerticalAlignment  CENTER

The text is vertically centered within its bounds. 

Text.VerticalAlignment  TOP

The top of first line of the text is flush with the top of the Text's bounds. 

Public methods

static Text.VerticalAlignment valueOf(String name)
static final VerticalAlignment[] values()

Enum values

BOTTOM

Text.VerticalAlignment BOTTOM

The bottom of the last line of text is flush with the bottom of the Text's bounds.

CENTER

Text.VerticalAlignment CENTER

The text is vertically centered within its bounds.

TOP

Text.VerticalAlignment TOP

The top of first line of the text is flush with the top of the Text's bounds.

Public methods

valueOf

Text.VerticalAlignment valueOf (String name)

Parameters
name String

Returns
Text.VerticalAlignment

values

VerticalAlignment[] values ()

Returns
VerticalAlignment[]

Hooray!