157158159160161162163
/** * Returns the base value of the attribute as an {@link AnimatableValue}. */ public AnimatableValue getUnderlyingValue(AnimationTarget target) { return new AnimatableNumberValue(target, getBaseVal()); }
1127112811291130113111321133
/** * Creates a new AnimatableValue from a string. */ public AnimatableValue createValue(AnimationTarget target, String ns, String ln, boolean isCSS, String s) { return new AnimatableNumberValue(target, Float.parseFloat(s)); }
1135113611371138113911401141
/** * Creates a new AnimatableValue from a CSS {@link Value}. */ public AnimatableValue createValue(AnimationTarget target, String pn, Value v) { return new AnimatableNumberValue(target, v.getFloatValue()); }