case SVGCSSEngine.STROKE_DASHARRAY_INDEX:
case SVGCSSEngine.STROKE_DASHOFFSET_INDEX:
case SVGCSSEngine.TEXT_DECORATION_INDEX: {
if (!hasNewACI) {
hasNewACI = true;
TextNode tn = (TextNode)node;
AttributedString as;
TextDecoration parentDecoration;
if ( cssProceedElement == e ){
parentDecoration = new TextDecoration();
as = new AttributedString(layoutedText.getIterator());
}
else{
//if a child CSS property has changed, then
//retrieve the parent text decoration
//and only update the section of the AtrtibutedString of
//the child
parentDecoration = getParentTextDecoration
(tn.getAttributedCharacterIterator(),
cssProceedElement);
as = new AttributedString
(tn.getAttributedCharacterIterator());
}
tn.setAttributedCharacterIterator(as.getIterator());
TextDecoration textDecoration = getTextDecoration
(cssProceedElement, tn, parentDecoration, ctx);
addPaintAttributes
(as, cssProceedElement, tn, textDecoration, ctx);
tn.setAttributedCharacterIterator(as.getIterator());
}
break;
}
case SVGCSSEngine.TEXT_RENDERING_INDEX: {
RenderingHints hints = node.getRenderingHints();