imagerequired- Blob | ImageBitmap
- The picture, as its bytes or already decoded.
widthrequired- number
- Its own size in pixels: the frame of every mark and the size of the PNG.
heightrequired- number
marks- readonly Mark[]
- Marks to go on from.
crop- CropRect
guides- readonly Guide[]
- Guides to go on from, in the picture's pixels.
rulers- boolean
- The rulers and their guides show; left out, they start shown when
guides holds one and Shift R turns them. onRulersChange- (on: boolean) => void
- The rulers were turned on or off by Shift R.
guidesInExport- boolean
- Default:
true - Done draws the guides into the PNG while the rulers show; false keeps them out of the PNG, and
guides still hands them back. pixelRatio- number
- Default:
1 - The capture's device pixel ratio: 2 for a Retina capture, which holds two image pixels for each CSS pixel. A spacing label divides the picture's pixels by it.
label- string
- Default:
"Mark up" - Its name for assistive technology, in the product's words ("Annotate").
onDonerequired- (result: MarkupResult) => void
- Done: the new picture and its marks.
onPixelRatioChange- (ratio: 1 | 2 | 3) => void
- Given, the spacing tool offers 1x, 2x and 3x when the capture is 1x, 2x or 3x, the current one marked; the product sets
pixelRatio to the choice. onCancelrequired- () => void
- Nothing is handed back. Escape asks it too, only while the session has drawn and cropped nothing.
rootStyle- RootStyle<ImageMarkupKnobs>