FileDocCategorySizeDatePackage
CanvasProperty.javaAPI DocAndroid 5.1 API1489Thu Mar 12 22:22:30 GMT 2015android.graphics

CanvasProperty

public final class CanvasProperty extends Object
TODO: Make public?
hide

Fields Summary
private com.android.internal.util.VirtualRefBasePtr
mProperty
Constructors Summary
private CanvasProperty(long nativeContainer)

        mProperty = new VirtualRefBasePtr(nativeContainer);
    
Methods Summary
public static android.graphics.CanvasPropertycreateFloat(float initialValue)

        return new CanvasProperty<Float>(nCreateFloat(initialValue));
    
public static android.graphics.CanvasPropertycreatePaint(Paint initialValue)

        return new CanvasProperty<Paint>(nCreatePaint(initialValue.mNativePaint));
    
public longgetNativeContainer()

hide

        return mProperty.get();
    
private static native longnCreateFloat(float initialValue)

private static native longnCreatePaint(long initialValuePaintPtr)