zero
TypeScriptstatic get zero(): CVImageSizeSwift declarationstatic let zero: CVImageSizeSize with zero width and height
struct · iOS 26.0+ · SDK 27.1
struct CVImageSizeSize of image buffer expressed as pixel count. This should be used when the sizes must be specified as exact integer width & height. Otherwise, prefer ``CGSize`` as it is more widely used.
static get zero(): CVImageSizeSwift declarationstatic let zero: CVImageSizeSize with zero width and height
static initWidthHeight(width: number, height: number): CVImageSizeSwift declarationinit(width: Int, height: Int)Create an instance with given width and height
get width(): numberSwift declarationvar width: IntImage width in pixels
set width(value: number)Swift declarationvar width: IntImage width in pixels
get height(): numberSwift declarationvar height: IntImage height in pixels
set height(value: number)Swift declarationvar height: IntImage height in pixels
static initRounded(size: { width: number; height: number }, rule?: SDKHandle): CVImageSizeSwift declarationinit(_ size: CGSize, rounded rule: FloatingPointRoundingRule = .down)Convert ``CGSize`` to ``CVImageSize`` using the given rounding rule. The same rounding rule is applied to both height and width.
No declarations were skipped in this snapshot.