public abstract class AbstractInterpolatorFactory<O> extends Object implements InterpolatorFactory<O>
InterpolatorFactory implementations that can be passed to D3.interpolators().push().
| Constructor and Description |
|---|
AbstractInterpolatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.core.client.JavaScriptObject |
asJSOFunction()
Return a one-arg JS function wrapping the interpolation.
|
abstract <I> Interpolator<O> |
create(I a,
I b)
Create an interpolator appropriate for interpolating the input value, or return null if the factory does not support the two
specified input values.
|
public abstract <I> Interpolator<O> create(I a, I b)
InterpolatorFactorycreate in interface InterpolatorFactory<O>a - the start input paramb - the end input parampublic final com.google.gwt.core.client.JavaScriptObject asJSOFunction()
InterpolatorFactory
Consider using CallableInterpolator for your own interpolation.
asJSOFunction in interface InterpolatorFactory<O>Copyright © 2015 gwt-d3. All rights reserved.