Skip to main content

Module cursor_preview_canvas

Module cursor_preview_canvas 

Source
Expand description

CursorPreviewCanvas + CursorAppearancePanel (M-UI.21 / AUT-141).

Preview canvas reuses the same backend pattern as the editor’s WispCanvasHost (CSS fallback, pre-rendered Wisp asset, or runtime-unavailable banner). The appearance panel composes UI-18 inspector primitives (PropertySection + PropertyControlView).

StructsΒ§

CursorAppearancePanelProps
Props for the CursorAppearancePanel component.
CursorAppearanceView
Appearance / motion / behavior view-model.
CursorColor
One named cursor color.
CursorPreviewCanvasProps
Props for the CursorPreviewCanvas component.

EnumsΒ§

ClickEffect
Click-effect variants displayed in the appearance panel.
CursorBehaviorView
Coarse cursor-behavior preset.
CursorPreviewBackend
Which backend should render the preview.

FunctionsΒ§

CursorAppearancePanel
Required Props
CursorPreviewCanvas
Required Props
appearance_section πŸ”’
behavior_section πŸ”’
click_effect_section πŸ”’
color_index πŸ”’
leak πŸ”’
motion_section πŸ”’
pct_from_size πŸ”’