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:
java.io.Serializable
- Enclosing interface:
- GVTAttributedCharacterIterator
public static class GVTAttributedCharacterIterator.TextAttribute extends java.text.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:
- Serialized Form
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TextAttribute(java.lang.String s)
Construct a TextAttribute key with name s
-
-
-
Field Detail
-
FLOW_PARAGRAPH
public static final GVTAttributedCharacterIterator.TextAttribute FLOW_PARAGRAPH
-
FLOW_EMPTY_PARAGRAPH
public static final GVTAttributedCharacterIterator.TextAttribute FLOW_EMPTY_PARAGRAPH
-
FLOW_LINE_BREAK
public static final GVTAttributedCharacterIterator.TextAttribute FLOW_LINE_BREAK
-
FLOW_REGIONS
public static final GVTAttributedCharacterIterator.TextAttribute FLOW_REGIONS
-
LINE_HEIGHT
public static final GVTAttributedCharacterIterator.TextAttribute LINE_HEIGHT
-
PREFORMATTED
public static final GVTAttributedCharacterIterator.TextAttribute PREFORMATTED
-
TEXT_COMPOUND_DELIMITER
public static final GVTAttributedCharacterIterator.TextAttribute TEXT_COMPOUND_DELIMITER
Attribute span delimiter - new tspan, tref, or textelement.
-
TEXT_COMPOUND_ID
public static final GVTAttributedCharacterIterator.TextAttribute TEXT_COMPOUND_ID
Element identifier all chars from same element will share an ID.
-
ANCHOR_TYPE
public static final GVTAttributedCharacterIterator.TextAttribute ANCHOR_TYPE
Anchor type.
-
EXPLICIT_LAYOUT
public static final GVTAttributedCharacterIterator.TextAttribute EXPLICIT_LAYOUT
Marker attribute indicating explicit glyph layout.
-
X
public static final GVTAttributedCharacterIterator.TextAttribute X
User-space X coordinate for character.
-
Y
public static final GVTAttributedCharacterIterator.TextAttribute Y
User-space Y coordinate for character.
-
DX
public static final GVTAttributedCharacterIterator.TextAttribute DX
User-space relative X coordinate for character.
-
DY
public static final GVTAttributedCharacterIterator.TextAttribute DY
User-space relative Y coordinate for character.
-
ROTATION
public static final GVTAttributedCharacterIterator.TextAttribute ROTATION
Rotation for character, in degrees.
-
PAINT_INFO
public static final GVTAttributedCharacterIterator.TextAttribute PAINT_INFO
All the paint attributes for the text.
-
BBOX_WIDTH
public static final GVTAttributedCharacterIterator.TextAttribute BBOX_WIDTH
Author-expected width for bounding box containing all text string glyphs.
-
LENGTH_ADJUST
public static final GVTAttributedCharacterIterator.TextAttribute LENGTH_ADJUST
Method specified for adjusting text element layout size.
-
CUSTOM_SPACING
public static final GVTAttributedCharacterIterator.TextAttribute CUSTOM_SPACING
Convenience flag indicating that non-default glyph spacing is needed.
-
KERNING
public static final GVTAttributedCharacterIterator.TextAttribute KERNING
User-specified inter-glyph kerning value.
-
LETTER_SPACING
public static final GVTAttributedCharacterIterator.TextAttribute LETTER_SPACING
User-specified inter-glyph spacing value.
-
WORD_SPACING
public static final GVTAttributedCharacterIterator.TextAttribute WORD_SPACING
User-specified width for whitespace characters.
-
TEXTPATH
public static final GVTAttributedCharacterIterator.TextAttribute TEXTPATH
Path along which text is to be laid out
-
FONT_VARIANT
public static final GVTAttributedCharacterIterator.TextAttribute FONT_VARIANT
Font variant to be used for this character span.- See Also:
SMALL_CAPS
-
BASELINE_SHIFT
public static final GVTAttributedCharacterIterator.TextAttribute BASELINE_SHIFT
Baseline adjustment to be applied to this character span.
-
WRITING_MODE
public static final GVTAttributedCharacterIterator.TextAttribute WRITING_MODE
Directional writing mode applied to this character span.
-
VERTICAL_ORIENTATION
public static final GVTAttributedCharacterIterator.TextAttribute VERTICAL_ORIENTATION
-
VERTICAL_ORIENTATION_ANGLE
public static final GVTAttributedCharacterIterator.TextAttribute VERTICAL_ORIENTATION_ANGLE
-
HORIZONTAL_ORIENTATION_ANGLE
public static final GVTAttributedCharacterIterator.TextAttribute HORIZONTAL_ORIENTATION_ANGLE
-
GVT_FONT_FAMILIES
public static final GVTAttributedCharacterIterator.TextAttribute GVT_FONT_FAMILIES
-
GVT_FONTS
public static final GVTAttributedCharacterIterator.TextAttribute GVT_FONTS
-
GVT_FONT
public static final GVTAttributedCharacterIterator.TextAttribute GVT_FONT
-
ALT_GLYPH_HANDLER
public static final GVTAttributedCharacterIterator.TextAttribute ALT_GLYPH_HANDLER
-
BIDI_LEVEL
public static final GVTAttributedCharacterIterator.TextAttribute BIDI_LEVEL
-
CHAR_INDEX
public static final GVTAttributedCharacterIterator.TextAttribute CHAR_INDEX
-
ARABIC_FORM
public static final GVTAttributedCharacterIterator.TextAttribute ARABIC_FORM
-
SCRIPT
public static final GVTAttributedCharacterIterator.TextAttribute SCRIPT
-
LANGUAGE
public static final GVTAttributedCharacterIterator.TextAttribute LANGUAGE
-
WRITING_MODE_LTR
public static final java.lang.Integer WRITING_MODE_LTR
Value for WRITING_MODE indicating left-to-right
-
WRITING_MODE_RTL
public static final java.lang.Integer WRITING_MODE_RTL
Value for WRITING_MODE indicating right-to-left
-
WRITING_MODE_TTB
public static final java.lang.Integer WRITING_MODE_TTB
Value for WRITING_MODE indicating top-to-botton
-
ORIENTATION_ANGLE
public static final java.lang.Integer ORIENTATION_ANGLE
Value for VERTICAL_ORIENTATION indicating an angle
-
ORIENTATION_AUTO
public static final java.lang.Integer ORIENTATION_AUTO
Value for VERTICAL_ORIENTATION indicating auto
-
SMALL_CAPS
public static final java.lang.Integer SMALL_CAPS
Value for FONT_VARIANT specifying small caps
-
UNDERLINE_ON
public static final java.lang.Integer UNDERLINE_ON
Value for UNDERLINE specifying underlining-on
-
OVERLINE_ON
public static final java.lang.Boolean OVERLINE_ON
Value for OVERLINE specifying overlining-on
-
STRIKETHROUGH_ON
public static final java.lang.Boolean STRIKETHROUGH_ON
Value for STRIKETHROUGH specifying strikethrough-on
-
ADJUST_SPACING
public static final java.lang.Integer ADJUST_SPACING
Value for LENGTH_ADJUST specifying adjustment to inter-glyph spacing
-
ADJUST_ALL
public static final java.lang.Integer ADJUST_ALL
Value for LENGTH_ADJUST specifying overall scaling of layout outlines
-
ARABIC_NONE
public static final java.lang.Integer ARABIC_NONE
-
ARABIC_ISOLATED
public static final java.lang.Integer ARABIC_ISOLATED
-
ARABIC_TERMINAL
public static final java.lang.Integer ARABIC_TERMINAL
-
ARABIC_INITIAL
public static final java.lang.Integer ARABIC_INITIAL
-
ARABIC_MEDIAL
public static final java.lang.Integer ARABIC_MEDIAL
-
-