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
pictureSKPicturePicture to use as a source of pixel data.
widthintImage width.
heightintImage height.
colorColorOverrides default fill color.
Returns
- SkiaImageHandler
Image instance with dimensions specified in
widthandheight.