| Package | Description |
|---|---|
| org.fujion.canvas.d2 |
| Modifier and Type | Method and Description |
|---|---|
CanvasGradient |
RenderingContext2D.createLinearGradient(double x0,
double y0,
double x1,
double y1)
Creates a gradient along the line given by the coordinates represented by the parameters.
|
CanvasGradient |
RenderingContext2D.createRadialGradient(double x0,
double y0,
double r0,
double x1,
double y1,
double r1)
Creates a radial gradient given by the coordinates of the two circles represented by the
parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RenderingContext2D.setFillStyle(CanvasGradient gradient)
Sets the fill style using a canvas gradient.
|
void |
RenderingContext2D.setStrokeStyle(CanvasGradient gradient)
Sets the gradient to use for the lines around shapes.
|
Copyright © 2018 Regenstrief Center for Biomedical Informatics. All rights reserved.