Package | Description |
---|---|
com.github.gwtd3.api | |
com.github.gwtd3.api.core |
Modifier and Type | Method and Description |
---|---|
static HSLColor |
Colors.hsl(int h,
double s,
double l)
Constructs a new HSL color with the specified hue h, saturation s and
lightness l.
|
static HSLColor |
Colors.hsl(RGBColor color)
Constructs a new HSL color from an existing color object.
|
static HSLColor |
Colors.hsl(String color)
Constructs a new HSL color by parsing the specified color string.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
HSLColor |
HSLColor.brighter()
Returns a brighter copy of this color yith a gamme of 1.
|
HSLColor |
HSLColor.brighter(double k)
Returns a brighter copy of this color.
|
HSLColor |
HSLColor.darker()
Returns a darker copy of this color yith a gamme of 1.
|
HSLColor |
HSLColor.darker(double k)
Returns a darker copy of this color.
|
HSLColor |
RGBColor.hsl()
Returns the equivalent color in HSL space; see d3.hsl for details on the returned object.
|
Copyright © 2017 gwt-d3. All rights reserved.