draw Drawable
Draws Drawable drawable using clip and matrix.
If Canvas has an asynchronous implementation, as is the case when it is recording into Picture, then drawable will be referenced, so that Drawable::draw() can be called when the operation is finalized. To force immediate drawing, call Drawable::draw() instead.
Return
this
Parameters
custom struct encapsulating drawing commands
Draws Drawable drawable using clip and matrix, offset by (x, y).
If Canvas has an asynchronous implementation, as is the case when it is recording into Picture, then drawable will be referenced, so that Drawable::draw() can be called when the operation is finalized. To force immediate drawing, call Drawable::draw() instead.
Return
this
Parameters
custom struct encapsulating drawing commands
offset into Canvas writable pixels on x-axis
offset into Canvas writable pixels on y-axis
See also
Draws Drawable drawable using clip and matrix, concatenated with optional matrix.
If Canvas has an asynchronous implementation, as is the case when it is recording into Picture, then drawable will be referenced, so that Drawable::draw() can be called when the operation is finalized. To force immediate drawing, call Drawable::draw() instead.
Return
this
Parameters
custom struct encapsulating drawing commands
transformation applied to drawing; may be null