create

common
fun create(format: Int, width: Int, height: Int): ImageSurface

Creates an ImageSurface.

Return

An ImageSurface or an IllegalStateException if the surface can't be created.

Parameters

format

The image format to use.

width

The size of the image in pixels.

height

The size of the image in pixels.

linuxArm32
fun create(format: Int, width: Int, height: Int): ImageSurface

Parameters

format

The image format to use.

width

The size of the image in pixels.

height

The size of the image in pixels.

linuxX64
fun create(format: Int, width: Int, height: Int): ImageSurface

Parameters

format

The image format to use.

width

The size of the image in pixels.

height

The size of the image in pixels.