/** * Returns the base value of the attribute as an {@link AnimatableValue}. */ public AnimatableValue getUnderlyingValue(AnimationTarget target) { SVGPathSegList psl = getPathSegList(); PathArrayProducer pp = new PathArrayProducer(); SVGAnimatedPathDataSupport.handlePathSegList(psl, pp); return new AnimatablePathDataValue(target, pp.getPathCommands(), pp.getPathParameters()); }
/** * Returns the base value of the attribute as an {@link AnimatableValue}. */ public AnimatableValue getUnderlyingValue(AnimationTarget target) { SVGPathSegList psl = getPathSegList(); PathArrayProducer pp = new PathArrayProducer(); SVGAnimatedPathDataSupport.handlePathSegList(psl, pp); return new AnimatablePathDataValue(target, pp.getPathCommands(), pp.getPathParameters()); }
/** * Returns the base value of the attribute as an {@link AnimatableValue}. */ public AnimatableValue getUnderlyingValue(AnimationTarget target) { SVGPathSegList psl = getPathSegList(); PathArrayProducer pp = new PathArrayProducer(); SVGAnimatedPathDataSupport.handlePathSegList(psl, pp); return new AnimatablePathDataValue(target, pp.getPathCommands(), pp.getPathParameters()); }