Skip to content
Menu
Auto
English
GitHub
Auto
English

ImageMarkerEditorProps

Defined in: packages/editor/src/EditorSurface.tsx:74

optional adapter?: ImageMarkerEditorRenderAdapter

Defined in: packages/editor/src/EditorSurface.tsx:89


optional background?: ReactNode

Defined in: packages/editor/src/EditorSurface.tsx:90


controller: ImageMarkerEditorController

Defined in: packages/editor/src/EditorSurface.tsx:75


optional getLayerSize?: (layer) => EditorSize

Defined in: packages/editor/src/EditorSurface.tsx:94

WatermarkRecipeDefinitionLayer

EditorSize


height: number

Defined in: packages/editor/src/EditorSurface.tsx:77


optional onSourceInfo?: (info) => void

Defined in: packages/editor/src/EditorSurface.tsx:102

MarkerImageInfo

void


optional onSourceInfoError?: (error) => void

Defined in: packages/editor/src/EditorSurface.tsx:103

Error

void


optional onStateChange?: (state) => void

Defined in: packages/editor/src/EditorSurface.tsx:104

EditorState

void


optional plugins?: readonly ImageMarkerEditorPlugin[]

Defined in: packages/editor/src/EditorSurface.tsx:101


optional renderLayer?: (layer, selected, context) => ReactNode

Defined in: packages/editor/src/EditorSurface.tsx:95

WatermarkRecipeDefinitionLayer

boolean

EditorLayerRenderContext

ReactNode


optional showSafeArea?: boolean

Defined in: packages/editor/src/EditorSurface.tsx:93


optional slots?: EditorComponentSlots

Defined in: packages/editor/src/EditorSurface.tsx:100


optional snapThreshold?: number

Defined in: packages/editor/src/EditorSurface.tsx:92


optional source?: unknown

Defined in: packages/editor/src/EditorSurface.tsx:88

Background image source used for automatic Core 2.1 dimension lookup.


optional sourceSize?: EditorSize

Defined in: packages/editor/src/EditorSurface.tsx:86

Explicit source dimensions. Usually omitted when source and an adapter with getSourceInfo are provided.


optional state?: EditorState

Defined in: packages/editor/src/EditorSurface.tsx:81

Controlled state. Pair with onStateChange and controller.replaceState.


optional style?: StyleProp<ViewStyle>

Defined in: packages/editor/src/EditorSurface.tsx:91


optional testID?: 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