CanvasEvents
Extends
StaticCanvasEvents
.CanvasPointerEvents
.CanvasDnDEvents
.MiscEvents
.CanvasModificationEvents
.CanvasSelectionEvents
Properties
after:render
after:render:
object
ctx
ctx:
CanvasRenderingContext2D
Inherited from
StaticCanvasEvents
.after:render
Defined in
before:path:created
before:path:created:
object
path
path:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Defined in
before:render
before:render:
object
ctx
ctx:
CanvasRenderingContext2D
Inherited from
StaticCanvasEvents
.before:render
Defined in
before:selection:cleared
before:selection:cleared:
Partial
<TEvent
<TPointerEvent
>> &object
Type declaration
deselected
deselected:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>[]
Inherited from
CanvasSelectionEvents.before:selection:cleared
Defined in
before:transform
before:transform:
TEvent
<TPointerEvent
> &object
Type declaration
transform
transform:
Transform
Inherited from
CanvasModificationEvents.before:transform
Defined in
canvas:cleared
canvas:cleared:
never
Inherited from
StaticCanvasEvents
.canvas:cleared
Defined in
contextmenu
contextmenu:
SimpleEventHandler
<Event
>
Inherited from
Defined in
contextmenu:before
contextmenu:before:
SimpleEventHandler
<Event
>
Inherited from
Defined in
drag
drag:
DragEventData
Inherited from
CanvasDnDEvents.drag
Defined in
drag:enter
drag:enter:
DragEventData
&InEvent
Inherited from
CanvasDnDEvents.drag:enter
Defined in
drag:leave
drag:leave:
DragEventData
&OutEvent
Inherited from
CanvasDnDEvents.drag:leave
Defined in
dragend
dragend:
DragEventData
Inherited from
CanvasDnDEvents.dragend
Defined in
dragenter
dragenter:
DragEventData
&InEvent
Inherited from
CanvasDnDEvents.dragenter
Defined in
dragleave
dragleave:
DragEventData
&OutEvent
Inherited from
CanvasDnDEvents.dragleave
Defined in
dragover
dragover:
DragEventData
Inherited from
CanvasDnDEvents.dragover
Defined in
dragstart
dragstart:
TEventWithTarget
<DragEvent
>
Inherited from
CanvasDnDEvents.dragstart
Defined in
drop
drop:
DropEventData
Inherited from
CanvasDnDEvents.drop
Defined in
drop:after
drop:after:
DropEventData
Inherited from
CanvasDnDEvents.drop:after
Defined in
drop:before
drop:before:
DropEventData
Inherited from
CanvasDnDEvents.drop:before
Defined in
erasing:end
erasing:end:
object
drawables
drawables:
object
drawables.backgroundImage?
optional
backgroundImage:FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
drawables.overlayImage?
optional
overlayImage:FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
path
path:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
subTargets
subTargets:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>[]
targets
targets:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>[]
Defined in
erasing:start
erasing:start:
never
Defined in
mouse:dblclick
mouse:dblclick:
TPointerEventInfo
<TPointerEvent
>
Inherited from
CanvasPointerEvents.mouse:dblclick
mouse:down
mouse:down:
TPointerEventInfo
<TPointerEvent
>
Inherited from
CanvasPointerEvents.mouse:down
mouse:down:before
mouse:down:before:
TPointerEventInfo
<TPointerEvent
>
Inherited from
CanvasPointerEvents.mouse:down:before
mouse:move
mouse:move:
TPointerEventInfo
<TPointerEvent
>
Inherited from
CanvasPointerEvents.mouse:move
mouse:move:before
mouse:move:before:
TPointerEventInfo
<TPointerEvent
>
Inherited from
CanvasPointerEvents.mouse:move:before
mouse:out
mouse:out:
TPointerEventInfo
<TPointerEvent
> &OutEvent
Inherited from
CanvasPointerEvents.mouse:out
mouse:over
mouse:over:
TPointerEventInfo
<TPointerEvent
> &InEvent
Inherited from
CanvasPointerEvents.mouse:over
mouse:up
mouse:up:
TPointerEventInfo
<TPointerEvent
> &object
Type declaration
currentSubTargets
currentSubTargets:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>[]
currentTarget?
optional
currentTarget:FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
isClick
isClick:
boolean
Inherited from
CanvasPointerEvents.mouse:up
mouse:up:before
mouse:up:before:
TPointerEventInfo
<TPointerEvent
> &object
Type declaration
currentSubTargets
currentSubTargets:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>[]
currentTarget?
optional
currentTarget:FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
isClick
isClick:
boolean
Inherited from
CanvasPointerEvents.mouse:up:before
mouse:wheel
mouse:wheel:
TPointerEventInfo
<WheelEvent
>
Inherited from
CanvasPointerEvents.mouse:wheel
object:added
object:added:
object
target
target:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Inherited from
StaticCanvasEvents
.object:added
Defined in
object:layout:after
object:layout:after:
LayoutAfterEvent
&object
Type declaration
target
target:
Group
Inherited from
StaticCanvasEvents
.object:layout:after
Defined in
object:layout:before
object:layout:before:
LayoutBeforeEvent
&object
Type declaration
target
target:
Group
Inherited from
StaticCanvasEvents
.object:layout:before
Defined in
object:modified
object:modified:
ModifiedEvent
<TPointerEvent
>
Inherited from
CanvasModificationEvents.object:modified
Defined in
object:modifyPath
object:modifyPath:
BasicTransformEvent
<TPointerEvent
> &object
&ModifyPathEvent
Type declaration
target
target:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Inherited from
CanvasModificationEvents.object:modifyPath
Defined in
object:modifyPoly
object:modifyPoly:
BasicTransformEvent
<TPointerEvent
> &object
Type declaration
target
target:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Inherited from
CanvasModificationEvents.object:modifyPoly
Defined in
object:moving
object:moving:
BasicTransformEvent
<TPointerEvent
> &object
Type declaration
target
target:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Inherited from
CanvasModificationEvents.object:moving
Defined in
object:removed
object:removed:
object
target
target:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Inherited from
StaticCanvasEvents
.object:removed
Defined in
object:resizing
object:resizing:
BasicTransformEvent
<TPointerEvent
> &object
Type declaration
target
target:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Inherited from
CanvasModificationEvents.object:resizing
Defined in
object:rotating
object:rotating:
BasicTransformEvent
<TPointerEvent
> &object
Type declaration
target
target:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Inherited from
CanvasModificationEvents.object:rotating
Defined in
object:scaling
object:scaling:
BasicTransformEvent
<TPointerEvent
> &object
Type declaration
target
target:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Inherited from
CanvasModificationEvents.object:scaling
Defined in
object:skewing
object:skewing:
BasicTransformEvent
<TPointerEvent
> &object
Type declaration
target
target:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Inherited from
CanvasModificationEvents.object:skewing
Defined in
path:created
path:created:
object
path
path:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>
Defined in
selection:cleared
selection:cleared:
Partial
<TEvent
<TPointerEvent
>> &object
Type declaration
deselected
deselected:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>[]
Inherited from
CanvasSelectionEvents.selection:cleared
Defined in
selection:created
selection:created:
Partial
<TEvent
<TPointerEvent
>> &object
Type declaration
selected
selected:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>[]
Inherited from
CanvasSelectionEvents.selection:created
Defined in
selection:updated
selection:updated:
Partial
<TEvent
<TPointerEvent
>> &object
Type declaration
deselected
deselected:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>[]
selected
selected:
FabricObject
<Partial
<FabricObjectProps
>,SerializedObjectProps
,ObjectEvents
>[]
Inherited from
CanvasSelectionEvents.selection:updated
Defined in
text:changed
text:changed:
object
target
target:
IText
<Partial
<ITextProps
>,SerializedITextProps
,ITextEvents
>
Defined in
text:editing:entered
text:editing:entered:
object
&Partial
<TEvent
<TPointerEvent
>>
Type declaration
target
target:
IText
<Partial
<ITextProps
>,SerializedITextProps
,ITextEvents
>
Defined in
text:editing:exited
text:editing:exited:
object
target
target:
IText
<Partial
<ITextProps
>,SerializedITextProps
,ITextEvents
>
Defined in
text:selection:changed
text:selection:changed:
object
target
target:
IText
<Partial
<ITextProps
>,SerializedITextProps
,ITextEvents
>