Skip to content

Type Alias: ImageRendering ​

ts
type ImageRendering = "auto" | "pixelated" | "crisp-edges";

Defined in: types/desktop-engine.d.ts:177

How a canvas' drawing buffer is scaled to its size (CSS image-rendering): auto smooths; pixelated keeps pixels sharp when scaling up, for pixel art drawn 1:1 in a small buffer; crisp-edges keeps them sharp scaling down too

The SDK is released under the Apache License 2.0