|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use ScenicColor | |
|---|---|
| scenic | |
| Uses of ScenicColor in scenic |
|---|
| Methods in scenic that return ScenicColor | |
|---|---|
static ScenicColor |
ScenicColor.byteColor(int red,
int green,
int blue)
Creates a color using 8-bit component values in the range 0-255. |
static ScenicColor |
ScenicColor.byteColor(int red,
int green,
int blue,
int alpha)
Creates a color using 8-bit component values in the range 0-255. |
ScenicColor |
ImageRenderer.getBgColor()
Gets the current background color. |
ScenicColor |
SolidColor.getColor()
Gets the color. |
ScenicColor |
Shape.getColor()
Gets the shape color. |
static ScenicColor |
ScenicColor.interpolate(ScenicColor a,
ScenicColor b,
float v)
Interpolates between the given colors. |
ScenicColor |
ScenicColor.multiply(float m)
Returns a color multiplied with the given value. |
ScenicColor |
ScenicColor.multiplyByAlpha()
Returns a color multiplied by the alpha channel. |
ScenicColor |
LinearColorFunction.value(double x)
|
ScenicColor |
ColorFunction.value(double x)
Returns the color value at the given position. |
| Methods in scenic with parameters of type ScenicColor | |
|---|---|
void |
LinearColorFunction.addNode(double position,
ScenicColor color)
Adds a new node to this object. |
static ScenicColor |
ScenicColor.interpolate(ScenicColor a,
ScenicColor b,
float v)
Interpolates between the given colors. |
void |
ScenicCanvas.setBackground(ScenicColor color)
Sets the background color of the canvas. |
void |
ImageRenderer.setBgColor(ScenicColor color)
Sets the background color for the image. |
void |
SolidColor.setColor(ScenicColor color)
Sets the color. |
void |
Shape.setColor(ScenicColor color)
Sets the shape color. |
void |
ScenicGraphics.setFillColor(ScenicColor c)
Sets the color that is used for filling paths and drawing text. |
void |
ScenicGraphics.setStrokeColor(ScenicColor c)
Sets the color that is used for stroking paths. |
| Constructors in scenic with parameters of type ScenicColor | |
|---|---|
SolidColor(ScenicColor color)
Constructs a new solid color brush. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||