SKPicture.Serialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Serialize() |
Serializes the picture into an SKData object. |
| Serialize(SKWStream) |
Serializes the picture to the specified stream. |
| Serialize(Stream) |
Serializes the picture to the specified .NET stream. |
Serialize()
Serializes the picture into an SKData object.
public SkiaSharp.SKData Serialize();
Returns
An SKData object containing the serialized picture.
Applies to
Serialize(SKWStream)
Serializes the picture to the specified stream.
public void Serialize(SkiaSharp.SKWStream stream);
Parameters
- stream
- SKWStream
The SKWStream to write the serialized picture to.
Applies to
Serialize(Stream)
Serializes the picture to the specified .NET stream.
public void Serialize(System.IO.Stream stream);
Parameters
- stream
- Stream
The .NET stream to write the serialized picture to.