Most visited

Recently visited

Text.HorizontalAlignment

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

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


Controls the horizontal alignment of Text within its bounds.

Summary

Enum values

Text.HorizontalAlignment  CENTER

Text is horizontally centered within its bounds. 

Text.HorizontalAlignment  LEFT

Text is aligned with the left boundary of the bounds. 

Text.HorizontalAlignment  RIGHT

Text is aligned to the right boundary of the bounds. 

Public methods

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

Enum values

CENTER

Text.HorizontalAlignment CENTER

Text is horizontally centered within its bounds.

LEFT

Text.HorizontalAlignment LEFT

Text is aligned with the left boundary of the bounds.

RIGHT

Text.HorizontalAlignment RIGHT

Text is aligned to the right boundary of the bounds.

Public methods

valueOf

Text.HorizontalAlignment valueOf (String name)

Parameters
name String

Returns
Text.HorizontalAlignment

values

HorizontalAlignment[] values ()

Returns
HorizontalAlignment[]

Hooray!