1{ 2 "methods": { 3 "getLastSetColor()": { 4 "isImplementation": false, 5 "modifiers": [ 6 "public" 7 ], 8 "params": [], 9 "returnType": "int", 10 "exceptions": [], 11 "name": "getLastSetColor()", 12 "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" 13 }, 14 "setColor(int)": { 15 "isImplementation": true, 16 "modifiers": [ 17 "protected" 18 ], 19 "params": [ 20 "color" 21 ], 22 "returnType": "void", 23 "exceptions": [], 24 "name": "setColor(int)" 25 } 26 }, 27 "imports": [ 28 "org.robolectric.shadow.api.Shadow.directlyOn", 29 "android.graphics.drawable.GradientDrawable", 30 "org.robolectric.annotation.Implementation", 31 "org.robolectric.annotation.Implements", 32 "org.robolectric.annotation.RealObject" 33 ], 34 "name": "org.robolectric.shadows.ShadowGradientDrawable" 35}