{ "methods": { "getLastSetColor()": { "isImplementation": false, "modifiers": [ "public" ], "params": [], "returnType": "int", "exceptions": [], "name": "getLastSetColor()", "documentation": "Returns the color of this drawable as set by the last call to {@link #setColor(int color)}.\n\n\u003cp\u003eNote that this only works if the color is explicitly set with {@link #setColor(int color)}.\nIf the color of this drawable is set by another method, the result will be {@code 0}.\n" }, "setColor(int)": { "isImplementation": true, "modifiers": [ "protected" ], "params": [ "color" ], "returnType": "void", "exceptions": [], "name": "setColor(int)" } }, "imports": [ "org.robolectric.shadow.api.Shadow.directlyOn", "android.graphics.drawable.GradientDrawable", "org.robolectric.annotation.Implementation", "org.robolectric.annotation.Implements", "org.robolectric.annotation.RealObject" ], "name": "org.robolectric.shadows.ShadowGradientDrawable" }