| Package | Description |
|---|---|
| com.sun.prism.impl | |
| com.sun.prism.impl.paint | |
| com.sun.prism.impl.ps | |
| com.sun.prism.paint | |
| com.sun.prism.sw |
| Modifier and Type | Method and Description |
|---|---|
Texture |
BaseContext.getGradientTexture(Gradient grad,
BaseTransform xform,
int paintW,
int paintH,
MaskData maskData,
float bx,
float by,
float bw,
float bh) |
| Modifier and Type | Method and Description |
|---|---|
static void |
PaintUtil.fillImageWithGradient(int[] pixels,
Gradient grad,
BaseTransform xform,
int px,
int py,
int pw,
int ph,
float bx,
float by,
float bw,
float bh) |
| Constructor and Description |
|---|
MultipleGradientContext(Gradient mgp,
BaseTransform t,
float[] fractions,
Color[] colors,
int cycleMethod)
Constructor for MultipleGradientContext superclass.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) static Texture |
PaintHelper.getGradientTexture(ShaderGraphics g,
Gradient paint) |
static int |
PaintHelper.initGradient(Gradient paint) |
private static void |
PaintHelper.setMultiGradient(Shader shader,
Gradient paint) |
private static void |
PaintHelper.setTextureGradient(Shader shader,
Gradient paint) |
| Modifier and Type | Class and Description |
|---|---|
class |
LinearGradient |
class |
RadialGradient |
| Modifier and Type | Method and Description |
|---|---|
private static int[] |
SWPaint.getARGB(Gradient grd,
float compositeAlpha) |
private static int[] |
SWPaint.getFractions(Gradient grd) |