protected static class SVGAnimationEngine.AnimatablePreserveAspectRatioValueFactory extends java.lang.Object implements SVGAnimationEngine.Factory
AnimatablePreserveAspectRatioValue
s.Modifier and Type | Field and Description |
---|---|
protected short |
align
The parsed 'align' value.
|
protected DefaultPreserveAspectRatioHandler |
handler
Handler for the preserveAspectRatio parser.
|
protected short |
meetOrSlice
The parsed 'meetOrSlice' value.
|
protected PreserveAspectRatioParser |
parser
Parser for preserveAspectRatio values.
|
Constructor and Description |
---|
AnimatablePreserveAspectRatioValueFactory()
Creates a new AnimatablePreserveAspectRatioValueFactory.
|
Modifier and Type | Method and Description |
---|---|
AnimatableValue |
createValue(AnimationTarget target,
java.lang.String ns,
java.lang.String ln,
boolean isCSS,
java.lang.String s)
Creates a new AnimatableValue from a string.
|
AnimatableValue |
createValue(AnimationTarget target,
java.lang.String pn,
Value v)
Creates a new AnimatableValue from a CSS
Value . |
protected short align
protected short meetOrSlice
protected PreserveAspectRatioParser parser
protected DefaultPreserveAspectRatioHandler handler
public AnimatablePreserveAspectRatioValueFactory()
public AnimatableValue createValue(AnimationTarget target, java.lang.String ns, java.lang.String ln, boolean isCSS, java.lang.String s)
createValue
in interface SVGAnimationEngine.Factory
public AnimatableValue createValue(AnimationTarget target, java.lang.String pn, Value v)
Value
. Returns null
since preserveAspectRatio values aren't used in CSS values.createValue
in interface SVGAnimationEngine.Factory
Copyright © 2022 Apache Software Foundation. All Rights Reserved.