TextFontAlignType

Inheritance: java.lang.Object

public final class TextFontAlignType

Represents the different types of font alignment.

Fields

FieldDescription
AUTOMATICWhen the text flow is horizontal or simple vertical same as fontBaseline but for other vertical modes same as fontCenter.
BASELINEThe letters are anchored to the bottom baseline of a single line.
BOTTOMThe letters are anchored to the very bottom of a single line.
CENTERThe letters are anchored between the two baselines of a single line.
TOPThe letters are anchored to the top baseline of a single line.

Methods

MethodDescription
equals(Object arg0)
getClass()
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

AUTOMATIC

public static final int AUTOMATIC

When the text flow is horizontal or simple vertical same as fontBaseline but for other vertical modes same as fontCenter.

BASELINE

public static final int BASELINE

The letters are anchored to the bottom baseline of a single line.

BOTTOM

public static final int BOTTOM

The letters are anchored to the very bottom of a single line.

CENTER

public static final int CENTER

The letters are anchored between the two baselines of a single line.

TOP

public static final int TOP

The letters are anchored to the top baseline of a single line.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int