Package: pumpkin.text

TextFormat


Description

TextFormat represents character formatting for the TextField class.



Constructors

TextFormat

create empty TextFormat.


Functions

clone

clone the TextFormat.


Variables

align

Text alignment.

hasEffects

Indicates if the font has any layer effects.

fontClassName

Font unique exported identifier, this includes fontname, color, size & effects.

font

Font name to use.

size

Font size.

findNearestSize

Find the nearest size if using bitmap fonts.

isBitmap

Is the font bitmap based.

letterSpacing

Spacing between letters.

leading

[alpha] Vertical space in pixels between lines.

fitSize

[alpha] Auto-fit text to TextField size.

wordWrap

Wrap words onto the next line.

charClip

[alpha] Clip character if they go outside, override word wrapping

color

[alpha] Text color.

bold

Indicates bold text style.

italic

Indicates italic text style.

filtersHash

Style hash of the filters applied to the font.

exportedStyleName

Exported style name, find font by MovieClip export name.

swfTTFLineMultiplier

Correct line height multiplier to match IDE functionality better.

textRenderType

Force rendering type.