ImageMarkerEditorProps
Defined in: packages/editor/src/EditorSurface.tsx:74
Properties
Section titled “Properties”adapter?
Section titled “adapter?”
optionaladapter?:ImageMarkerEditorRenderAdapter
Defined in: packages/editor/src/EditorSurface.tsx:89
background?
Section titled “background?”
optionalbackground?:ReactNode
Defined in: packages/editor/src/EditorSurface.tsx:90
controller
Section titled “controller”controller:
ImageMarkerEditorController
Defined in: packages/editor/src/EditorSurface.tsx:75
getLayerSize?
Section titled “getLayerSize?”
optionalgetLayerSize?: (layer) =>EditorSize
Defined in: packages/editor/src/EditorSurface.tsx:94
Parameters
Section titled “Parameters”WatermarkRecipeDefinitionLayer
Returns
Section titled “Returns”height
Section titled “height”height:
number
Defined in: packages/editor/src/EditorSurface.tsx:77
onSourceInfo?
Section titled “onSourceInfo?”
optionalonSourceInfo?: (info) =>void
Defined in: packages/editor/src/EditorSurface.tsx:102
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
onSourceInfoError?
Section titled “onSourceInfoError?”
optionalonSourceInfoError?: (error) =>void
Defined in: packages/editor/src/EditorSurface.tsx:103
Parameters
Section titled “Parameters”Error
Returns
Section titled “Returns”void
onStateChange?
Section titled “onStateChange?”
optionalonStateChange?: (state) =>void
Defined in: packages/editor/src/EditorSurface.tsx:104
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
plugins?
Section titled “plugins?”
optionalplugins?: readonlyImageMarkerEditorPlugin[]
Defined in: packages/editor/src/EditorSurface.tsx:101
renderLayer?
Section titled “renderLayer?”
optionalrenderLayer?: (layer,selected,context) =>ReactNode
Defined in: packages/editor/src/EditorSurface.tsx:95
Parameters
Section titled “Parameters”WatermarkRecipeDefinitionLayer
selected
Section titled “selected”boolean
context
Section titled “context”Returns
Section titled “Returns”ReactNode
showSafeArea?
Section titled “showSafeArea?”
optionalshowSafeArea?:boolean
Defined in: packages/editor/src/EditorSurface.tsx:93
slots?
Section titled “slots?”
optionalslots?:EditorComponentSlots
Defined in: packages/editor/src/EditorSurface.tsx:100
snapThreshold?
Section titled “snapThreshold?”
optionalsnapThreshold?:number
Defined in: packages/editor/src/EditorSurface.tsx:92
source?
Section titled “source?”
optionalsource?:unknown
Defined in: packages/editor/src/EditorSurface.tsx:88
Background image source used for automatic Core 2.1 dimension lookup.
sourceSize?
Section titled “sourceSize?”
optionalsourceSize?:EditorSize
Defined in: packages/editor/src/EditorSurface.tsx:86
Explicit source dimensions. Usually omitted when source and an adapter
with getSourceInfo are provided.
state?
Section titled “state?”
optionalstate?:EditorState
Defined in: packages/editor/src/EditorSurface.tsx:81
Controlled state. Pair with onStateChange and controller.replaceState.
style?
Section titled “style?”
optionalstyle?:StyleProp<ViewStyle>
Defined in: packages/editor/src/EditorSurface.tsx:91
testID?
Section titled “testID?”
optionaltestID?:string
Defined in: packages/editor/src/EditorSurface.tsx:79
Stable identifier for native E2E and application component tests.
width:
number
Defined in: packages/editor/src/EditorSurface.tsx:76