Skip to content

Type Alias: ImageSize ​

ts
type ImageSize = "contain" | "cover" | "fill" | "none";

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

Image scaling mode; defaults to contain. contain fits it in, cover fills the component and crops the rest, fill (API 4) stretches it to the component's size, none (API 4) shows it at its own size, an image pixel to a point; position places it in the space left or picks the part shown

The SDK is released under the Apache License 2.0