Package org.apache.batik.gvt.text
Class GVTACIImpl.TransformAttributeFilter
- java.lang.Object
-
- org.apache.batik.gvt.text.GVTACIImpl.TransformAttributeFilter
-
- All Implemented Interfaces:
GVTAttributedCharacterIterator.AttributeFilter
- Enclosing class:
- GVTACIImpl
public static class GVTACIImpl.TransformAttributeFilter extends java.lang.Object implements GVTAttributedCharacterIterator.AttributeFilter
AttributeFilter which converts (extended) location attributes SVGAttributedCharacterIterator.TextAttribute.X, TextAttribute.Y, TextAttribute.ROTATE attributes to TextAttribute.TRANSFORM attributes.
-
-
Constructor Summary
Constructors Constructor Description TransformAttributeFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.text.AttributedCharacterIterator
mutateAttributes(java.text.AttributedCharacterIterator aci)
Return a new AttributedCharacterIterator instance in which location attributes have been converted to TextAttribute.TRANSFORM attributes.
-
-
-
Method Detail
-
mutateAttributes
public java.text.AttributedCharacterIterator mutateAttributes(java.text.AttributedCharacterIterator aci)
Return a new AttributedCharacterIterator instance in which location attributes have been converted to TextAttribute.TRANSFORM attributes.- Specified by:
mutateAttributes
in interfaceGVTAttributedCharacterIterator.AttributeFilter
- Parameters:
aci
- an AttributedCharacterIterator whose attributes are to be modified.- Returns:
- an instance of AttributedCharacterIterator with mutated attributes.
-
-