Method CreateFromPicture
CreateFromPicture(SKPicture?, int, int, Color?)
Creates SkiaImageHandler from SKPicture using the specified width and height.
public static SkiaImageHandler CreateFromPicture(SKPicture? picture, int width, int height, Color? color)
Parameters
picture
SKPicturePicture to use as a source of pixel data.
width
intImage width.
height
intImage height.
color
ColorOverrides default fill color.
Returns
- SkiaImageHandler
Image instance with dimensions specified in
width
andheight
.