Package | Description |
---|---|
com.github.gwtd3.api | |
com.github.gwtd3.api.core | |
com.github.gwtd3.api.interpolators |
TODO: interpolator factory API is a work in progress.
|
com.github.gwtd3.api.tweens |
Modifier and Type | Method and Description |
---|---|
static Interpolator<Array<?>> |
Interpolators.interpolateArray(Array<?> a,
Array<?> b)
Returns an array interpolator between the two arrays a and b.
|
static Interpolator<HSLColor> |
Interpolators.interpolateHsl(Color a,
Color b)
Returns an RGB color space interpolator between the two colors a and b.
|
static Interpolator<HSLColor> |
Interpolators.interpolateHsl(String a,
String b)
Returns an HSL color space interpolator between the two colors a and b.
|
static Interpolator<Double> |
Interpolators.interpolateNumber(byte a,
byte b)
See
#interpolate(double, double) . |
static Interpolator<Double> |
Interpolators.interpolateNumber(double a,
double b)
Returns a numeric interpolator between the two numbers a and b.
|
static Interpolator<Double> |
Interpolators.interpolateNumber(float a,
float b)
See
#interpolate(double, double) . |
static Interpolator<Double> |
Interpolators.interpolateNumber(int a,
int b)
|
static Interpolator<Double> |
Interpolators.interpolateNumber(long a,
long b)
See
#interpolate(double, double) . |
static Interpolator<Double> |
Interpolators.interpolateNumber(short a,
short b)
See
#interpolate(double, double) . |
static <T extends com.google.gwt.core.client.JavaScriptObject> |
Interpolators.interpolateObject(T a,
T b)
Returns an object interpolator between the two objects a and b.
|
static Interpolator<RGBColor> |
Interpolators.interpolateRgb(Color a,
Color b)
Returns an RGB color space interpolator between the two colors a and b.
|
static Interpolator<RGBColor> |
Interpolators.interpolateRgb(String a,
String b)
Returns an RGB color space interpolator between the two colors a and b.
|
static Interpolator<Byte> |
Interpolators.interpolateRound(byte a,
byte b)
|
static Interpolator<Character> |
Interpolators.interpolateRound(char a,
char b)
|
static Interpolator<Long> |
Interpolators.interpolateRound(double a,
double b)
Returns a numeric interpolator between the two numbers a and b; the
interpolator is similar to
#interpolate(double, double) , except
it will round the resulting value to the nearest integer. |
static Interpolator<Integer> |
Interpolators.interpolateRound(int a,
int b)
|
static Interpolator<Long> |
Interpolators.interpolateRound(long a,
long b)
|
static Interpolator<Short> |
Interpolators.interpolateRound(short a,
short b)
|
static Interpolator<String> |
Interpolators.interpolateString(String a,
String b)
Returns a string interpolator between the two strings a and b.
|
static Interpolator<Transform> |
Interpolators.interpolateTransform(Transform a,
Transform b)
Returns an interpolator between the two 2D affine transforms represented
by a and b.
|
static Interpolator<Array<Double>> |
Interpolators.interpolateZoom(Array<Double> a,
Array<Double> b)
Returns a smooth interpolator between the two views a and b of a
two-dimensional plane, based on “Smooth and efficient zooming and
panning” by Jarke J. van Wijk and Wim A.A.
|
Modifier and Type | Method and Description |
---|---|
Transition |
Transition.tween(String name,
DatumFunction<Interpolator<?>> factory)
Registers a custom tween for the specified name.
|
Modifier and Type | Class and Description |
---|---|
class |
CallableInterpolator<T>
An interpolator that can be passed to JSNI.
|
class |
JavascriptFunctionInterpolator
An interpolator used when the interpolation function is provided by JSNI.
|
class |
JavascriptFunctionInterpolatorDecorator<T> |
Modifier and Type | Method and Description |
---|---|
<I> Interpolator<O> |
JSNIInterpolatorFactory.create(I a,
I b) |
<I> Interpolator<O> |
InterpolatorFactory.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.
|
abstract <I> Interpolator<O> |
AbstractInterpolatorFactory.create(I a,
I b) |
Modifier and Type | Method and Description |
---|---|
Interpolator<T> |
TweenFunction.apply(com.google.gwt.dom.client.Element context,
Value datum,
int index,
Value value) |
Copyright © 2015 gwt-d3. All rights reserved.