Returns the approximate byte size. Does not include large objects.
Returns a new shader that will draw with this picture.
The tiling mode to use when sampling in the x-direction.
The tiling mode to use when sampling in the y-direction.
How to filter the tiles
OptionallocalMatrix: InputMatrixOptional matrix used when sampling
OptionaltileRect: InputRectThe tile rectangle in picture coordinates: this represents the subset (or superset) of the picture used when building a tile. It is not affected by localMatrix and does not imply scaling (only translation and cropping). If null, the tile rect is considered equal to the picture bounds.
Returns the serialized format of this SkPicture. The format may change at anytime and no promises are made for backwards or forward compatibility.
See SkPicture.h for more information on this class.
Of note, SkPicture is not what is colloquially thought of as a "picture" (what we call a bitmap). An SkPicture is a series of draw commands.