Interfaces
NativeSnapshotOptions
A fully-defaulted readback request. The JS Canvas handle fills every field
before it reaches the bridge, so neither native side has to model absence -
see nativeOptions in src/components/Canvas.tsx for the defaults.
x/y/width/height are logical pixels (dp), matching scene
coordinates; a width or height of 0 means "the whole canvas".
Properties
format
format: string;'png' | 'jpeg' | 'webp' | 'raw'; anything else is treated as 'png'.
height
height: number;quality
quality: number;scale
scale: number;width
width: number;x
x: number;y
y: number;