OptionaladornmentA box above the selection chrome, placed and turned exactly as the frame is, for the content's
own controls (a shape's adjustment handles). null when the movable has none.
OptionaldescriptionUsable for alt text or loading
OptionaldisabledIf true then the component is disabled.
OptionalflipHow to mirror the drawing within the frame: the gesture's while one is in flight, else the movable's own. The frame does not mirror the drawing itself, since what a mirror means is the drawing's (a shape keeps its text readable); content that cannot be mirrored ignores it.
OptionalisIndicator for dragging.
OptionalloadingProvide an optional loading panel.
OptionalmovableThe movable associated with this element.
OptionaloffsetOptional style for the picture editor.
OptionaloffsetOptional style for the picture editor.
OptionalonRegisters where a press starts a drag: the test answers true for a press that should move the
movable. Without one, a press anywhere in the frame drags.
OptionalonCalled when the movable is hidden from view.
OptionalonCall when the movable is returned to the view.
The underlying model for the picture.
OptionalrefRef for the Element.
OptionaltileIf true the picture will be tiled to fill the area.
OptionalzoomThe scale of the view the movable is drawn in, where 1 is unscaled.
Props a movable renderer receives from its frame.
Remarks
Spread
styleonto the root element. It fills the frame, which owns the drawing's bounds (zoom included), AND carries its hit-testing: the frame itself is pointer-transparent, sostyle.pointerEvents('auto'by default,'none'while the frame is hidden) is what makes the drawing clickable. A drawing that is not solid — a no-fill shape — overrides it with'none'on its root and setspointerEventsback on its painted parts only (e.g.visibleStrokeon an SVG path), so a click in its unfilled interior reaches the cell beneath, exactly as in Excel.The drawing never sizes itself.
zoomis given only so that it can scale what it draws inside the frame (text, borders, padding), for example with the CSSzoomproperty; a drawing that stretches to its box, such as a picture, ignores it.