Last active
July 12, 2017 13:26
-
-
Save patrick-elmquist/b9784ae165588ef2baadd953f9edd200 to your computer and use it in GitHub Desktop.
Frame by frame #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
protected void onDraw(Canvas canvas) { | |
// 1. The size of the base circle | |
// 2. Where the arc starts in degrees | |
// 3. The size of the arc in degrees, starting at #2 | |
// 4. If the arc should be drawn as a pie, false makes it a stroke | |
// 5. The paint to use | |
canvas.drawArc(mArcBounds, mArcStart, mArcSize, false, mPaint); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment