Skip to content

Instantly share code, notes, and snippets.

@iammert
Created July 3, 2015 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iammert/017c041d271f0401d3dd to your computer and use it in GitHub Desktop.
Save iammert/017c041d271f0401d3dd to your computer and use it in GitHub Desktop.
//Formül -- > ((mTime/60f) * mHeight).
//Mavi dikdörtgeni çiziyoruz.
canvas.drawRect(0, mHeight - (mTime.minute / 60f) * mHeight, canvas.getWidth(), canvas.getHeight(), mBackgroundPaintFilled);
//Gri dikdörtgeni çiziyoruz.
canvas.drawRect(0, 0, canvas.getWidth(), mHeight - (mTime.minute / 60f) * mHeight, mBackgroundPaintNotFilled);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment