Class ImageSurface
- Namespace
- Cairo
- Assembly
- cairo-1.0.dll
public class ImageSurface : Surface, BoxedRecord, GTypeProvider, InstanceFactory, IDisposable
- Inheritance
-
ImageSurface
- Implements
- Inherited Members
Constructors
ImageSurface(Format, int, int)
public ImageSurface(Format format, int width, int height)
Parameters
ImageSurface(Bytes, Format, int, int, int)
public ImageSurface(Bytes data, Format format, int width, int height, int stride)
Parameters
Properties
Format
public Format Format { get; }
Property Value
Height
public int Height { get; }
Property Value
Stride
Number of bytes per row.
public int Stride { get; }
Property Value
Width
public int Width { get; }
Property Value
Methods
GetData()
public Span<byte> GetData()