(package private) static Texture |
PaintHelper.getGradientTexture(ShaderGraphics g,
Gradient paint) |
(package private) static AffineBase |
PaintHelper.getImagePatternTx(ShaderGraphics g,
ImagePattern paint,
Shader shader,
BaseTransform renderTx,
float rx,
float ry,
float rw,
float rh) |
(package private) static Texture |
PaintHelper.getWrapGradientTexture(ShaderGraphics g) |
(package private) static void |
PaintHelper.initGradientTextures(ShaderGraphics g) |
(package private) static void |
PaintHelper.setImagePattern(ShaderGraphics g,
Shader shader,
ImagePattern paint,
float rx,
float ry,
float rw,
float rh)
We use the plane equation to automatically
map the ImagePattern image to the geometry being rendered.
|
(package private) static void |
PaintHelper.setLinearGradient(ShaderGraphics g,
Shader shader,
LinearGradient paint,
float rx,
float ry,
float rw,
float rh)
This method uses techniques that are nearly identical to those
employed in setGradientPaint() above.
|
(package private) static void |
PaintHelper.setRadialGradient(ShaderGraphics g,
Shader shader,
RadialGradient paint,
float rx,
float ry,
float rw,
float rh)
This method calculates six m** values and a focus adjustment value that
are used by the native fragment shader.
|