CharacterAttributes

Properties of a character.

Property Listing

Property

Type

Access

Description

Tsume

Number

read/write

The percentage of space reduction around a Japanese character (100 = 100%)

akiLeft

Number

read/write

The em amount of left aki.

akiRight

Number

read/write

The em amount of right aki amount.

alignment

StyleRunAlignmentType

StyleRunAlignmentType.ROMANBASELINE

StyleRunAlignmentType.bottom

StyleRunAlignmentType.center

StyleRunAlignmentType.icfBottom

StyleRunAlignmentType.icfTop

StyleRunAlignmentType.top

read/write

The character alignment type.

alternateGlyphs

AlternateGlyphsForm

AlternateGlyphsForm.DEFAULTFORM

AlternateGlyphsForm.EXPERT

AlternateGlyphsForm.FULLWIDTH

AlternateGlyphsForm.HALFWIDTH

AlternateGlyphsForm.JIS04FORM

AlternateGlyphsForm.JIS78FORM

AlternateGlyphsForm.JIS83FORM

AlternateGlyphsForm.JIS90FORM

AlternateGlyphsForm.PROPORTIONALWIDTH

AlternateGlyphsForm.QUARTERWIDTH

AlternateGlyphsForm.THIRDWIDTH

AlternateGlyphsForm.TRADITIONAL

read/write

The alternate glyphs form.

autoLeading

Boolean

read/write

Whether to use automatic leading.

baselineDirection

BaselineDirectionType

BaselineDirectionType.Standard

BaselineDirectionType.TateChuYoko

BaselineDirectionType.VerticalRotated

read/write

The Japanese text baseline direction.

baselinePosition

FontBaselineOption

FontBaselineOption.NORMALBASELINE

FontBaselineOption.SUBSCRIPT

FontBaselineOption.SUPERSCRIPT

read/write

The baseline position of text.

baselineShift

Number

read/write

The amount of shift (in points) of the text baseline.

capitalization

FontCapsOption

FontCapsOption.ALLCAPS

FontCapsOption.ALLSMALLCAPS

FontCapsOption.NORMALCAPS

FontCapsOption.SMALLCAPS

read/write

The case of text.

connectionForms

Boolean

read/write

Whether the OpenType connection forms should be used.

contextualLigature

Boolean

read/write

Whether the contextual ligature should be used.

diacVPos

DiacVPosType

DiacVPosType.DEFAULT_POSITION

DiacVPosType.LOOSE_POSITION

DiacVPosType.MEDIUM_POSITION

DiacVPosType.OPENTYPE_POSITION

DiacVPosType.TIGHT_POSITION

read/write

Diacritics positioning attribute.

diacXOffset

Number

read/write

Diacritics x offset attribute.

diacYOffset

Number

read/write

Diacritics y offset attribute.

digitSet

DigitSetType

DigitSetType.ARABIC_DIGITS

DigitSetType.DEFAULT_DIGITS

DigitSetType.FARSI_DIGITS

DigitSetType.HINDI_DIGITS

read/write

Digit set attribute.

dirOverride

DirOverrideType

DirOverrideType.DEFAULT_DIRECTION

DirOverrideType.LEFT_TO_RIGHT_DIRECTION

DirOverrideType.RIGHT_TO_LEFT_DIRECTION

read/write

Direction override attribute.

discretionaryLigature

Boolean

read/write

Whether the discretionary ligature should be used.

figureStyle

FigureStyleType

FigureStyleType.DEFAULTFIGURESTYLE

FigureStyleType.PROPORTIONAL

FigureStyleType.PROPORTIONALOLDSTYLE

FigureStyleType.TABULAR

FigureStyleType.TABULAROLDSTYLE

read/write

Which figure style to use in OpenType font.

fillColor

Color

read/write

The color of the text fill.

fractions

Boolean

read/write

Whether the OpenType fractions should be used.

horizontalScale

Number

read/write

Character horizontal scaling factor expressed as a percentage (100 = 100%)

italics

Boolean

read/write

Does the Japanese OpenType support italics?

justificationAlternates

Boolean

read/write

Justification alternates attribute.

kana

Boolean

read/write

Does the Japanese OpenType support kana?

kashidas

KashidasType

KashidasType.DEFAULT_KASHIDAS

KashidasType.KASHIDAS_OFF

KashidasType.KASHIDAS_ON

read/write

Kashidas attribute.

kerningMethod

AutoKernType

AutoKernType.AUTO

AutoKernType.METRICSROMANONLY

AutoKernType.NOAUTOKERN

AutoKernType.OPTICAL

read/write

The automatic kerning method to use.

language

LanguageType

LanguageType.ARABIC

LanguageType.BENGALIINDIA

LanguageType.BOKMALNORWEGIAN

LanguageType.BRAZILLIANPORTUGUESE

LanguageType.BULGARIAN

LanguageType.CANADIANFRENCH

LanguageType.CATALAN

LanguageType.CHINESE

LanguageType.CZECH

LanguageType.DANISH

LanguageType.DUTCH

LanguageType.DUTCH2005REFORM

LanguageType.ENGLISH

LanguageType.FARSI

LanguageType.FINNISH

LanguageType.GERMAN2006REFORM

LanguageType.GREEK

LanguageType.GUJARATI

LanguageType.HINDI

LanguageType.HUNGARIAN

LanguageType.ICELANDIC

LanguageType.ITALIAN

LanguageType.JAPANESE

LanguageType.KANNADA

LanguageType.MALAYALAM

LanguageType.MARATHI

LanguageType.NYNORSKNORWEGIAN

LanguageType.OLDGERMAN

LanguageType.ORIYA

LanguageType.POLISH

LanguageType.PUNJABI

LanguageType.RUMANIAN

LanguageType.RUSSIAN

LanguageType.SERBIAN

LanguageType.SPANISH

LanguageType.STANDARDFRENCH

LanguageType.STANDARDGERMAN

LanguageType.STANDARDPORTUGUESE

LanguageType.SWEDISH

LanguageType.SWISSGERMAN

LanguageType.SWISSGERMAN2006REFORM

LanguageType.TAMIL

LanguageType.TELUGU

LanguageType.TURKISH

LanguageType.UKENGLISH

LanguageType.UKRANIAN

read/write

The language of text.

leading

Number

read/write

The amount of space between two lines of text (in points)

ligature

Boolean

read/write

Whether the ligature should be used.

noBreak

Boolean

read/write

Whether line breaks are allowed.

openTypePosition

FontOpenTypePositionOption

FontOpenTypePositionOption.DENOMINATOR

FontOpenTypePositionOption.NUMERATOR

FontOpenTypePositionOption.OPENTYPEDEFAULT

FontOpenTypePositionOption.OPENTYPESUBSCRIPT

FontOpenTypePositionOption.OPENTYPESUPERSCRIPT

read/write

The OpenType baseline position.

ordinals

Boolean

read/write

Whether the OpenType ordinals should be used.

ornaments

Boolean

read/write

Whether the OpenType ornaments should be used.

overprintFill

Boolean

read/write

Whether to overprint the fill of the text.

overprintStroke

Boolean

read/write

Whether to overprint the stroke of the text.

parent

 

readonly

The object's container.

proportionalMetrics

Boolean

read/write

Does the Japanese OpenType support proportional font?

rotation

Number

read/write

The character rotation angle (in degrees)

size

Number

read/write

Font size in points.

strikeThrough

Boolean

read/write

Whether to draw a strike through line over the text.

strokeColor

Color

read/write

The color of the text stroke.

strokeWeight

Number

read/write

Line width of stroke.

stylisticAlternates

Boolean

read/write

Whether the OpenType stylistic alternates should be used.

stylisticSets

Int32

read/write

Stylistic sets attribute.

swash

Boolean

read/write

Whether the OpenType swash should be used.

tateChuYokoHorizontal

Int32

read/write

The Tate-Chu-Yoko horizontal adjustment in points.

tateChuYokoVertical

Int32

read/write

The Tate-Chu-Yoko vertical adjustment in points.

textFont

TextFont

read/write

The text font.

titling

Boolean

read/write

Whether the OpenType titling alternates should be used.

tracking

Int32

read/write

The tracking or range kerning amount in thousands of an em.

typename

String

readonly

The class name of the object.

underline

Boolean

read/write

Whether to underline the text.

verticalScale

Number

read/write

Character vertical scaling factor expressed as a percentage (100 = 100%)

wariChuCharactersAfterBreak

Int32

read/write

 

wariChuCharactersBeforeBreak

Int32

read/write

 

wariChuEnabled

Boolean

read/write

Whether WariChu is enabled.

wariChuJustification

WariChuJustificationType

WariChuJustificationType.Center

WariChuJustificationType.Left

WariChuJustificationType.Right

WariChuJustificationType.WARICHUAUTOJUSTIFY

WariChuJustificationType.WARICHUFULLJUSTIFY

WariChuJustificationType.WARICHUFULLJUSTIFYLASTLINECENTER

WariChuJustificationType.WARICHUFULLJUSTIFYLASTLINELEFT

WariChuJustificationType.WARICHUFULLJUSTIFYLASTLINERIGHT

read/write

 

wariChuLineGap

Int32

read/write

The Wari-Chu line gap.

wariChuLines

Int32

read/write

The number of Wari-Chu (multiple text lines fit into a space meant for one) lines.

wariChuScale

Number

read/write

The Wari-Chu scale.

Object of

TextRange.characterAttributes

CharacterStyle.characterAttributes

ParagraphStyle.characterAttributes