Methods Summary |
---|
public static android.graphics.Shader_Delegate | getDelegate(long nativeShader)
// ---- Public Helper methods ----
return sManager.getDelegate(nativeShader);
|
public abstract java.awt.Paint | getJavaPaint()
|
protected java.awt.geom.AffineTransform | getLocalMatrix()
if (mLocalMatrix != null) {
return mLocalMatrix.getAffineTransform();
}
return new java.awt.geom.AffineTransform();
|
public abstract java.lang.String | getSupportMessage()
|
public static android.graphics.Shader.TileMode | getTileMode(int tileMode)Returns the {@link TileMode} matching the given int.
for (TileMode tm : TileMode.values()) {
if (tm.nativeInt == tileMode) {
return tm;
}
}
assert false;
return TileMode.CLAMP;
|
public abstract boolean | isSupported()
|
static void | nativeDestructor(long native_shader)
sManager.removeJavaReferenceFor(native_shader);
|
static void | nativeSetLocalMatrix(long native_shader, long matrix_instance)
// get the delegate from the native int.
Shader_Delegate shaderDelegate = sManager.getDelegate(native_shader);
if (shaderDelegate == null) {
return;
}
shaderDelegate.mLocalMatrix = Matrix_Delegate.getDelegate(matrix_instance);
|