Shader.TileMode
Constructor and Description |
---|
ComposeShader(Shader shaderA,
Shader shaderB,
PorterDuff.Mode mode)
Create a new compose shader, given shaders A, B, and a combining PorterDuff mode.
|
ComposeShader(Shader shaderA,
Shader shaderB,
Xfermode mode)
Create a new compose shader, given shaders A, B, and a combining mode.
|
Modifier and Type | Method and Description |
---|---|
protected Shader |
copy() |
copyLocalMatrix, finalize, getLocalMatrix, getNativeInstance, init, setLocalMatrix
public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode)
shaderA
- The colors from this shader are seen as the "dst" by the modeshaderB
- The colors from this shader are seen as the "src" by the modemode
- The mode that combines the colors from the two shaders. If mode
is null, then SRC_OVER is assumed.public ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode)
shaderA
- The colors from this shader are seen as the "dst" by the modeshaderB
- The colors from this shader are seen as the "src" by the modemode
- The PorterDuff mode that combines the colors from the two shaders.