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 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 -
Method Summary
Modifier and TypeMethodDescriptionReturn a new AttributedCharacterIterator instance in which location attributes have been converted to TextAttribute.TRANSFORM attributes.
-
Constructor Details
-
TransformAttributeFilter
public TransformAttributeFilter()
-
-
Method Details
-
mutateAttributes
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.
-