org.apache.batik.gvt.text
Interface GVTAttributedCharacterIterator.AttributeFilter
- All Known Implementing Classes:
- GVTACIImpl.TransformAttributeFilter
- Enclosing interface:
- GVTAttributedCharacterIterator
public static interface GVTAttributedCharacterIterator.AttributeFilter
Interface for helper class which mutates the attributes of an
AttributedCharacterIterator.
Typically used to convert location and rotation attributes to
TextAttribute.TRANSFORM attributes, or convert between implementations
of AttributedCharacterIterator.Attribute.
mutateAttributes
AttributedCharacterIterator mutateAttributes(AttributedCharacterIterator aci)
- Modify an AttributedCharacterIterator's attributes systematically.
Usually returns a copy since AttributedCharacterIterator instances
are often immutable. The effect of the attribute modification
is implementation dependent.
- Parameters:
aci
- an AttributedCharacterIterator whose attributes are
to be modified.
- Returns:
- an instance of AttributedCharacterIterator with mutated
attributes.
Copyright © 2008 Apache Software Foundation. All Rights Reserved.