Class of android.graphics.drawable · RotateDrawable.java · Android's reference
public class RotateDrawable extends DrawableWrapper
RotateDrawable ← DrawableWrapper ← Drawable
A drawable turned by its level, as Android's: from fromDegrees at level 0 to toDegrees at 10000, about its pivot (a fraction of the bounds by default, the middle).
public RotateDrawable() sourcepublic void inflate(android.content.res.Resources r, org.xmlpull.v1.XmlPullParser parser, android.util.AttributeSet attrs, android.content.res.Resources.Theme theme) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException sourcepublic void draw(Canvas canvas) sourceprotected boolean onLevelChange(int level) sourcepublic void setFromDegrees(float fromDegrees) sourcepublic float getFromDegrees() sourcepublic void setToDegrees(float toDegrees) sourcepublic float getToDegrees() sourcepublic void setPivotX(float pivotX) sourcepublic float getPivotX() sourcepublic void setPivotY(float pivotY) sourcepublic float getPivotY() sourcepublic void setPivotXRelative(boolean relative) sourcepublic boolean isPivotXRelative() sourcepublic void setPivotYRelative(boolean relative) sourcepublic boolean isPivotYRelative() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.