Android Graphics Paint

Android examples for Graphics:Paint

Description

Click the following links for the tutorial for Graphics and Paint.

  1. get Text Length via Paint
  2. set Sweep Gradient Gradient Paint
  3. Create Filled Paint
  4. Create Stroke Paint
  5. set Text Size For Width
  6. resize Text Size
  7. Fills the given BufferedImage with a Paint , preserving its alpha channel.
  8. get Text Height via Paint


  9. get Text Width via Paint
  10. get String Width via TextPaint
  11. get Text Full Height with Paint.FontMetrics
  12. get Text Base Line via Paint
  13. Recursive binary search to find the best size for the text TextPaint.
  14. get Paint Default Text Bounds
  15. get Paint Default Text Height
  16. get Paint Default Text Width


  17. get Paint Text Bounds
  18. get Paint Text Height
  19. get Paint Text Width
  20. Adjusts the Paint text scale X for the given parameters.
  21. Adjusts the Paint text size for the given parameters.
  22. Adjusts the Paint font size of the given paint for the given string, to match the given width AND height.
  23. set Paint Text Under Line
  24. get Paint Font Height
  25. get Paint Draw Text Height
  26. draw Paint Text Align Right
  27. draw Paint Text Align Center
  28. draw Paint Text Align Left
  29. get Paint Draw Text Width
  30. get Paint Draw Text Y
  31. Truncate a string to a given maximum width, relative to its paint size.
  32. Calculate the font height of a specific TextPaint
  33. calculate the width of a string with a specific TextPaint
  34. add Text Bubble Paint
  35. set Paint Color Level
  36. get Mask Icon
  37. Passing a certain height value, this method returns the size of text of which it is the size of the width specified
  38. Passing a certain width value, this method returns the size of text of which it is the size of the width specified
  39. Creates the Paint object for drawing the crop window border.
  40. Creates the Paint object for drawing the translucent overlay outside the crop window.
  41. new Corner Paint
  42. Creates the Paint object for drawing the corners of the border
  43. Creates the Paint object for drawing the crop window guidelines.
  44. layout Bitmap Text Label