Holds data used for measuring and drawing.
Caches drawing data.
The bounds of the Canvas.
The number of pixels corresponding to one density-independent pixel.
Whether the layout direction is left to right.
1f if isLtr is true, and -1f otherwise.
1f
true
-1f
The number of pixels corresponding to this number of density-independent pixels.
The number of pixels corresponding to this number of density-independent pixels, rounded down to an integer.
Returns the number of pixels corresponding to dp density-independent pixels.
Removes all temporary data.
Returns the number of pixels corresponding to sp scalable pixels.