/** * <b>DOM</b>: Implements {@link SVGLengthList#getNumberOfItems()}. */ public int getNumberOfItems() { if (hasAnimVal) { return super.getNumberOfItems(); } return getBaseVal().getNumberOfItems(); }
/** * <b>DOM</b>: Implements {@link SVGLengthList#getItem(int)}. */ public SVGLength getItem(int index) throws DOMException { if (hasAnimVal) { return super.getItem(index); } return getBaseVal().getItem(index); }
/** * <b>DOM</b>: Implements {@link SVGLengthList#getNumberOfItems()}. */ public int getNumberOfItems() { if (hasAnimVal) { return super.getNumberOfItems(); } return getBaseVal().getNumberOfItems(); }
/** * <b>DOM</b>: Implements {@link SVGLengthList#getItem(int)}. */ public SVGLength getItem(int index) throws DOMException { if (hasAnimVal) { return super.getItem(index); } return getBaseVal().getItem(index); }
/** * <b>DOM</b>: Implements {@link SVGLengthList#getItem(int)}. */ public SVGLength getItem(int index) throws DOMException { if (hasAnimVal) { return super.getItem(index); } return getBaseVal().getItem(index); }
/** * <b>DOM</b>: Implements {@link SVGLengthList#getNumberOfItems()}. */ public int getNumberOfItems() { if (hasAnimVal) { return super.getNumberOfItems(); } return getBaseVal().getNumberOfItems(); }
/** * Returns the base value of the attribute as an {@link AnimatableValue}. */ public AnimatableValue getUnderlyingValue(AnimationTarget target) { SVGLengthList ll = getBaseVal(); int n = ll.getNumberOfItems(); short[] types = new short[n]; float[] values = new float[n]; for (int i = 0; i < n; i++) { SVGLength l = ll.getItem(i); types[i] = l.getUnitType(); values[i] = l.getValueInSpecifiedUnits(); } return new AnimatableLengthListValue (target, types, values, target.getPercentageInterpretation (getNamespaceURI(), getLocalName(), false)); }
/** * Returns the base value of the attribute as an {@link AnimatableValue}. */ public AnimatableValue getUnderlyingValue(AnimationTarget target) { SVGLengthList ll = getBaseVal(); int n = ll.getNumberOfItems(); short[] types = new short[n]; float[] values = new float[n]; for (int i = 0; i < n; i++) { SVGLength l = ll.getItem(i); types[i] = l.getUnitType(); values[i] = l.getValueInSpecifiedUnits(); } return new AnimatableLengthListValue (target, types, values, target.getPercentageInterpretation (getNamespaceURI(), getLocalName(), false)); }
/** * Returns the base value of the attribute as an {@link AnimatableValue}. */ public AnimatableValue getUnderlyingValue(AnimationTarget target) { SVGLengthList ll = getBaseVal(); int n = ll.getNumberOfItems(); short[] types = new short[n]; float[] values = new float[n]; for (int i = 0; i < n; i++) { SVGLength l = ll.getItem(i); types[i] = l.getUnitType(); values[i] = l.getValueInSpecifiedUnits(); } return new AnimatableLengthListValue (target, types, values, target.getPercentageInterpretation (getNamespaceURI(), getLocalName(), false)); }