Defines types of fading animations for use with the createFadeAnimation method.
Members
No filters for this type
Constants
The color shading is specified by the color1 and color2 parameters of createFadeAnimation. Color1 is used for the white regions and color2 for the black regions in a grayscale representation of a graph item. Gray values in between are interpolated between the two colors. If only one color is specified, or the two colors are identical, the item will fade from this color.
static
The semi-transparency can be specified by the color1 parameter of createFadeAnimation. The alpha values of the colors used for the fading from semi-transparent animation are interpolated between the one of the current color and the one of color1. Note that, only the alpha value of color1 is taken into consideration for the fading from semi-transparent.
static
The semi-transparency can be specified by the color1 parameter of createFadeAnimation. The alpha values of the colors used for the fading to semi-transparent animation are interpolated between the one of the current color and the one of color1. Note that, only the alpha value of color1 is taken into consideration for the fading to semi-transparent.
static
The color shading is specified by the color1 and color2 parameters of createFadeAnimation. Color1 is used for the white regions and color2 for the black regions in a grayscale representation of a graph item. Gray values in between are interpolated between the two colors. If only one color is specified, or the two colors are identical, the item will fade to this color.
static
Static Methods
Converts the given argument to an enum constant of this enum type.
Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static
Parameters
- value: WebGLFadeAnimationType
- The value to convert to an enum constant.
Return Value
- WebGLFadeAnimationType
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Returns the name of the given enum constant.
static
Parameters
- value: WebGLFadeAnimationType
- The numeric value of an enum constant.
Return Value
- string
- The name of the enum constant.
Throws
- Exception ({ name: 'Error' })
- If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.