Package org.apache.batik.gvt.text
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 Integer
Value for LENGTH_ADJUST specifying overall scaling of layout outlinesstatic final Integer
Value for LENGTH_ADJUST specifying adjustment to inter-glyph spacingstatic final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
Anchor type.static final GVTAttributedCharacterIterator.TextAttribute
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final GVTAttributedCharacterIterator.TextAttribute
Baseline adjustment to be applied to this character span.static final GVTAttributedCharacterIterator.TextAttribute
Author-expected width for bounding box containing all text string glyphs.static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
Convenience flag indicating that non-default glyph spacing is needed.static final GVTAttributedCharacterIterator.TextAttribute
User-space relative X coordinate for character.static final GVTAttributedCharacterIterator.TextAttribute
User-space relative Y coordinate for character.static final GVTAttributedCharacterIterator.TextAttribute
Marker attribute indicating explicit glyph layout.static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
Font variant to be used for this character span.static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
User-specified inter-glyph kerning value.static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
Method specified for adjusting text element layout size.static final GVTAttributedCharacterIterator.TextAttribute
User-specified inter-glyph spacing value.static final GVTAttributedCharacterIterator.TextAttribute
static final Integer
Value for VERTICAL_ORIENTATION indicating an anglestatic final Integer
Value for VERTICAL_ORIENTATION indicating autostatic final Boolean
Value for OVERLINE specifying overlining-onstatic final GVTAttributedCharacterIterator.TextAttribute
All the paint attributes for the text.static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
Rotation for character, in degrees.static final GVTAttributedCharacterIterator.TextAttribute
static final Integer
Value for FONT_VARIANT specifying small capsstatic final Boolean
Value for STRIKETHROUGH specifying strikethrough-onstatic final GVTAttributedCharacterIterator.TextAttribute
Attribute span delimiter - new tspan, tref, or textelement.static final GVTAttributedCharacterIterator.TextAttribute
Element identifier all chars from same element will share an ID.static final GVTAttributedCharacterIterator.TextAttribute
Path along which text is to be laid outstatic final Integer
Value for UNDERLINE specifying underlining-onstatic final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
static final GVTAttributedCharacterIterator.TextAttribute
User-specified width for whitespace characters.static final GVTAttributedCharacterIterator.TextAttribute
Directional writing mode applied to this character span.static final Integer
Value for WRITING_MODE indicating left-to-rightstatic final Integer
Value for WRITING_MODE indicating right-to-leftstatic final Integer
Value for WRITING_MODE indicating top-to-bottonstatic final GVTAttributedCharacterIterator.TextAttribute
User-space X coordinate for character.static final GVTAttributedCharacterIterator.TextAttribute
User-space Y coordinate for character.Fields inherited from class java.text.AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, READING
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.text.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
-