org.apache.batik.gvt.text
Class GVTAttributedCharacterIterator.TextAttribute
public static
class
GVTAttributedCharacterIterator.TextAttribute
extends Attribute
Attribute keys that identify SVG text attributes. Anchor point for
attribute values of X, Y, and ROTATION is determined by the character's
font and other attributes.
We duplicate the features of java.awt.font.TextAttribute rather than
subclassing because java.awt.font.TextAttribute is final.
public static final Integer ADJUST_ALL
Value for LENGTH_ADJUST specifying overall scaling of layout outlines
public static final Integer ADJUST_SPACING
Value for LENGTH_ADJUST specifying adjustment to inter-glyph spacing
Anchor type.
public static final Integer ARABIC_INITIAL
public static final Integer ARABIC_ISOLATED
public static final Integer ARABIC_MEDIAL
public static final Integer ARABIC_NONE
public static final Integer ARABIC_TERMINAL
Baseline adjustment to be applied to this character span.
Author-expected width for bounding box containing
all text string glyphs.
Convenience flag indicating that non-default glyph spacing is needed.
User-space relative X coordinate for character.
User-space relative Y coordinate for character.
Marker attribute indicating explicit glyph layout.
Font variant to be used for this character span.
See Also: SMALL_CAPS
User-specified inter-glyph kerning value.
Method specified for adjusting text element layout size.
User-specified inter-glyph spacing value.
public static final Integer ORIENTATION_ANGLE
Value for VERTICAL_ORIENTATION indicating an angle
public static final Integer ORIENTATION_AUTO
Value for VERTICAL_ORIENTATION indicating auto
public static final Boolean OVERLINE_ON
Value for OVERLINE specifying overlining-on
All the paint attributes for the text.
Rotation for character, in degrees.
public static final Integer SMALL_CAPS
Value for FONT_VARIANT specifying small caps
public static final Boolean STRIKETHROUGH_ON
Value for STRIKETHROUGH specifying strikethrough-on
Path along which text is to be laid out
Attribute span delimiter - new tspan, tref, or textelement.
Element identifier all chars from same element will share an
ID.
public static final Integer UNDERLINE_ON
Value for UNDERLINE specifying underlining-on
User-specified width for whitespace characters.
Directional writing mode applied to this character span.
public static final Integer WRITING_MODE_LTR
Value for WRITING_MODE indicating left-to-right
public static final Integer WRITING_MODE_RTL
Value for WRITING_MODE indicating right-to-left
public static final Integer WRITING_MODE_TTB
Value for WRITING_MODE indicating top-to-botton
User-space X coordinate for character.
User-space Y coordinate for character.
public TextAttribute(String s)
Construct a TextAttribute key with name s
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.