Table of Contents

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

format Format
width int
height int

ImageSurface(Bytes, Format, int, int, int)

public ImageSurface(Bytes data, Format format, int width, int height, int stride)

Parameters

data Bytes
format Format
width int
height int
stride int

Properties

Format

public Format Format { get; }

Property Value

Format

Height

public int Height { get; }

Property Value

int

Stride

Number of bytes per row.

public int Stride { get; }

Property Value

int

Width

public int Width { get; }

Property Value

int

Methods

GetData()

public Span<byte> GetData()

Returns

Span<byte>