Class GVTAttributedCharacterIterator.TextAttribute
java.lang.Object
java.text.AttributedCharacterIterator.Attribute
org.apache.batik.gvt.text.GVTAttributedCharacterIterator.TextAttribute
- All Implemented Interfaces:
Serializable
- Enclosing interface:
GVTAttributedCharacterIterator
public static class GVTAttributedCharacterIterator.TextAttribute
extends AttributedCharacterIterator.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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IntegerValue for LENGTH_ADJUST specifying overall scaling of layout outlinesstatic final IntegerValue for LENGTH_ADJUST specifying adjustment to inter-glyph spacingstatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributeAnchor type.static final GVTAttributedCharacterIterator.TextAttributestatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final Integerstatic final GVTAttributedCharacterIterator.TextAttributeBaseline adjustment to be applied to this character span.static final GVTAttributedCharacterIterator.TextAttributeAuthor-expected width for bounding box containing all text string glyphs.static final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributeConvenience flag indicating that non-default glyph spacing is needed.static final GVTAttributedCharacterIterator.TextAttributeUser-space relative X coordinate for character.static final GVTAttributedCharacterIterator.TextAttributeUser-space relative Y coordinate for character.static final GVTAttributedCharacterIterator.TextAttributeMarker attribute indicating explicit glyph layout.static final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributeFont variant to be used for this character span.static final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributeUser-specified inter-glyph kerning value.static final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributeMethod specified for adjusting text element layout size.static final GVTAttributedCharacterIterator.TextAttributeUser-specified inter-glyph spacing value.static final GVTAttributedCharacterIterator.TextAttributestatic final IntegerValue for VERTICAL_ORIENTATION indicating an anglestatic final IntegerValue for VERTICAL_ORIENTATION indicating autostatic final BooleanValue for OVERLINE specifying overlining-onstatic final GVTAttributedCharacterIterator.TextAttributeAll the paint attributes for the text.static final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributeRotation for character, in degrees.static final GVTAttributedCharacterIterator.TextAttributestatic final IntegerValue for FONT_VARIANT specifying small capsstatic final BooleanValue for STRIKETHROUGH specifying strikethrough-onstatic final GVTAttributedCharacterIterator.TextAttributeAttribute span delimiter - new tspan, tref, or textelement.static final GVTAttributedCharacterIterator.TextAttributeElement identifier all chars from same element will share an ID.static final GVTAttributedCharacterIterator.TextAttributePath along which text is to be laid outstatic final IntegerValue for UNDERLINE specifying underlining-onstatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributestatic final GVTAttributedCharacterIterator.TextAttributeUser-specified width for whitespace characters.static final GVTAttributedCharacterIterator.TextAttributeDirectional writing mode applied to this character span.static final IntegerValue for WRITING_MODE indicating left-to-rightstatic final IntegerValue for WRITING_MODE indicating right-to-leftstatic final IntegerValue for WRITING_MODE indicating top-to-bottonstatic final GVTAttributedCharacterIterator.TextAttributeUser-space X coordinate for character.static final GVTAttributedCharacterIterator.TextAttributeUser-space Y coordinate for character.Fields inherited from class AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, READING -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AttributedCharacterIterator.Attribute
equals, getName, hashCode, readResolve, toString
-
Field Details
-
FLOW_PARAGRAPH
-
FLOW_EMPTY_PARAGRAPH
-
FLOW_LINE_BREAK
-
FLOW_REGIONS
-
LINE_HEIGHT
-
PREFORMATTED
-
TEXT_COMPOUND_DELIMITER
Attribute span delimiter - new tspan, tref, or textelement. -
TEXT_COMPOUND_ID
Element identifier all chars from same element will share an ID. -
ANCHOR_TYPE
Anchor type. -
EXPLICIT_LAYOUT
Marker attribute indicating explicit glyph layout. -
X
User-space X coordinate for character. -
Y
User-space Y coordinate for character. -
DX
User-space relative X coordinate for character. -
DY
User-space relative Y coordinate for character. -
ROTATION
Rotation for character, in degrees. -
PAINT_INFO
All the paint attributes for the text. -
BBOX_WIDTH
Author-expected width for bounding box containing all text string glyphs. -
LENGTH_ADJUST
Method specified for adjusting text element layout size. -
CUSTOM_SPACING
Convenience flag indicating that non-default glyph spacing is needed. -
KERNING
User-specified inter-glyph kerning value. -
LETTER_SPACING
User-specified inter-glyph spacing value. -
WORD_SPACING
User-specified width for whitespace characters. -
TEXTPATH
Path along which text is to be laid out -
FONT_VARIANT
Font variant to be used for this character span.- See Also:
-
BASELINE_SHIFT
Baseline adjustment to be applied to this character span. -
WRITING_MODE
Directional writing mode applied to this character span. -
VERTICAL_ORIENTATION
-
VERTICAL_ORIENTATION_ANGLE
-
HORIZONTAL_ORIENTATION_ANGLE
-
GVT_FONT_FAMILIES
-
GVT_FONTS
-
GVT_FONT
-
ALT_GLYPH_HANDLER
-
BIDI_LEVEL
-
CHAR_INDEX
-
ARABIC_FORM
-
SCRIPT
-
LANGUAGE
-
WRITING_MODE_LTR
Value for WRITING_MODE indicating left-to-right -
WRITING_MODE_RTL
Value for WRITING_MODE indicating right-to-left -
WRITING_MODE_TTB
Value for WRITING_MODE indicating top-to-botton -
ORIENTATION_ANGLE
Value for VERTICAL_ORIENTATION indicating an angle -
ORIENTATION_AUTO
Value for VERTICAL_ORIENTATION indicating auto -
SMALL_CAPS
Value for FONT_VARIANT specifying small caps -
UNDERLINE_ON
Value for UNDERLINE specifying underlining-on -
OVERLINE_ON
Value for OVERLINE specifying overlining-on -
STRIKETHROUGH_ON
Value for STRIKETHROUGH specifying strikethrough-on -
ADJUST_SPACING
Value for LENGTH_ADJUST specifying adjustment to inter-glyph spacing -
ADJUST_ALL
Value for LENGTH_ADJUST specifying overall scaling of layout outlines -
ARABIC_NONE
-
ARABIC_ISOLATED
-
ARABIC_TERMINAL
-
ARABIC_INITIAL
-
ARABIC_MEDIAL
-
-
Constructor Details
-
TextAttribute
Construct a TextAttribute key with name s
-