See: Description
Interface | Description |
---|---|
IsColor |
Defines the methods that all colors must have and many of them have got already an implementation that usually does not need to be changed.
|
Class | Description |
---|---|
Area |
Contains the coordinates of an area.
Used inside the canvas object factory. |
CanvasObject |
Base object for pattern and gradient instances, based on canvas element.
|
CanvasObjectFactory |
Abstract utility class which creates a canvas gradient and pattern java script objects using a Charba gradient or pattern.
A Charba gradient or pattern describes how a canvas gradient or pattern must be created. |
Center |
Contains the coordinates of a center of arc.
Used inside the canvas object factory. |
Color |
This class contains information about a color.
You can requests a specific alpha (starting form source color and cloning it). |
ColorBuilder |
Utility to create colors by red, green and blue values, HEX value and RGB and RGBA strings.
It checks if the requested color is already defined in HTML colors. |
ColorUtil |
Utility to check alpha value.
Internally is checking red, green, blue and alpha values and creates string representation of a color, to HEX, RGB, RGBA, HSL or HSLA strings. |
Gradient |
A gradient is an image consisting of a progressive transition between two or more colors.
Could be Linear or Radial .Can be created using the size of CANVAS or CHART area.The orientation to have a progressive transition, is defined by an enumeration in order to creates the gradient using the right coordinates and dimension, based on existing items (canvas and chart). |
GradientBuilder |
The gradient builder is the entry point to create a canvas gradient.
A gradient is an image consisting of a progressive transition between two or more colors. Could be Linear or Radial .Can be created using the size of CANVAS or CHART area.The orientation to have a progressive transition, is defined by an enumeration in order to creates the gradient using the right coordinates and dimension, based on existing items (canvas and chart). |
GradientColor |
Contains the color and its offset to set a gradient.
|
Pattern |
Entity to apply a canvas pattern in the a data set as background.
See here some interesting pattern images. |
PatternBuilder |
The pattern builder is the entry point to create a canvas pattern.
Entity to apply a canvas pattern in the a data set as background. See here some interesting pattern images. |
Radius |
Contains the radius of inner and outer of an arc.
Used inside the canvas object factory. |
Enum | Description |
---|---|
GoogleChartColor |
Google Chart colors provided as enumeration of colors.
|
GradientOrientation |
Represents the gradient orientation for gradient.
Every orientation contains also on which gradient type can be applied. |
GradientScope |
A gradient needs to have coordinates and/or radius to be created.
The dimension to create a gradient are decided by Charba, automatically based on canvas or chart area element. |
GradientType |
A gradient must have a type.
The possible types are: LINEAR RADIAL |
GwtMaterialColor |
GWT material color constants.
|
HtmlColor |
All modern browsers support the following 140 color names.
|
UiGradient |
uiGradients is a community contributed collection of beautiful multi-color gradients.
Enumerates the uiGradients items, with a set of predefined colors, in order to create Charba Gradient s. |