Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Hufe921/canvas-editor
/ functions
Functions
1,174 in github.com/Hufe921/canvas-editor
⨍
Functions
1,174
◇
Types & classes
446
↓ 1 callers
Method
_render
()
src/components/signature/Signature.ts:64
↓ 1 callers
Method
_render
()
src/components/dialog/Dialog.ts:47
↓ 1 callers
Method
_render
()
src/editor/core/draw/particle/TextParticle.ts:166
↓ 1 callers
Method
_render
(payload: IRenderPayload)
src/editor/core/contextmenu/ContextMenu.ts:202
↓ 1 callers
Method
_renderBackgroundColor
( ctx: CanvasRenderingContext2D, color: string, width: number, height: number )
src/editor/core/draw/frame/Background.ts:20
↓ 1 callers
Method
_renderBackgroundImage
( ctx: CanvasRenderingContext2D, width: number, height: number )
src/editor/core/draw/frame/Background.ts:76
↓ 1 callers
Method
_saveUndoFn
(fn: Function)
src/components/signature/Signature.ts:187
↓ 1 callers
Method
_setBlinkTimeout
()
src/editor/core/cursor/Cursor.ts:84
↓ 1 callers
Method
_setCalculatedValue
(value: number)
src/editor/core/draw/control/number/NumberControl.ts:91
↓ 1 callers
Method
_setLangChange
()
src/editor/core/draw/particle/date/DatePicker.ts:433
↓ 1 callers
Method
_setPosition
()
src/editor/core/draw/particle/date/DatePicker.ts:349
↓ 1 callers
Method
_setValue
()
src/editor/core/draw/particle/date/DatePicker.ts:373
↓ 1 callers
Method
_toData
()
src/components/signature/Signature.ts:258
↓ 1 callers
Method
_update
(evt: MouseEvent)
src/editor/core/draw/interactive/Magnifier.ts:80
↓ 1 callers
Method
_updateDateView
()
src/editor/core/draw/particle/date/DatePicker.ts:499
↓ 1 callers
Method
_updateMonthView
()
src/editor/core/draw/particle/date/DatePicker.ts:624
↓ 1 callers
Method
_updateTitleVisibility
()
src/editor/core/draw/particle/date/DatePicker.ts:468
↓ 1 callers
Method
_updateYearView
()
src/editor/core/draw/particle/date/DatePicker.ts:581
↓ 1 callers
Method
_watchMouseMoveZoneChange
(watchZones: EditorZone[])
src/editor/core/zone/ZoneTip.ts:46
↓ 1 callers
Method
_wrapContainer
(rootContainer: HTMLElement)
src/editor/core/draw/Draw.ts:1305
↓ 1 callers
Method
addEvent
()
src/editor/core/event/GlobalEvent.ts:55
↓ 1 callers
Function
align
(exprs: Expr[], alignment = 'center')
src/editor/core/draw/particle/latex/utils/LaTexUtils.ts:276
↓ 1 callers
Function
appendCatalog
( parent: HTMLDivElement, catalogItems: ICatalogItem[] )
src/main.ts:1295
↓ 1 callers
Method
appendElementList
( elementList: IElement[], options?: IAppendElementListOption )
src/editor/core/command/CommandAdapt.ts:1867
↓ 1 callers
Method
applyPainterStyle
()
src/editor/core/event/CanvasEvent.ts:109
↓ 1 callers
Method
awake
()
src/editor/core/draw/control/number/NumberControl.ts:146
↓ 1 callers
Method
awake
()
src/editor/core/draw/control/select/SelectControl.ts:545
↓ 1 callers
Function
backspace
(evt: KeyboardEvent, host: CanvasEvent)
src/editor/core/event/handlers/keydown/backspace.ts:49
↓ 1 callers
Function
backspaceHideElement
(host: CanvasEvent)
src/editor/core/event/handlers/keydown/backspace.ts:5
↓ 1 callers
Function
buildDom
(payload: IElement[])
src/editor/utils/element.ts:1211
↓ 1 callers
Function
buildText
(payload: IElement[])
src/editor/utils/element.ts:1745
↓ 1 callers
Method
calculate
(expression: string)
src/editor/core/draw/control/number/Calculator.ts:166
↓ 1 callers
Method
clearAll
()
src/editor/core/observer/ImageObserver.ts:12
↓ 1 callers
Method
clearPrintData
()
src/editor/core/draw/Draw.ts:340
↓ 1 callers
Function
compile
(i: number)
src/editor/core/draw/particle/latex/utils/hershey.ts:19
↓ 1 callers
Method
compositionend
(evt: CompositionEvent)
src/editor/core/event/CanvasEvent.ts:231
↓ 1 callers
Method
compositionstart
()
src/editor/core/event/CanvasEvent.ts:227
↓ 1 callers
Method
computeHighlightList
()
src/editor/core/draw/control/Control.ts:111
↓ 1 callers
Method
computeListStyle
( ctx: CanvasRenderingContext2D, elementList: IElement[] )
src/editor/core/draw/particle/ListParticle.ts:101
↓ 1 callers
Method
computePositionList
()
src/editor/core/position/Position.ts:456
↓ 1 callers
Method
computeRowPosition
( payload: IComputeRowPositionPayload )
src/editor/core/position/Position.ts:487
↓ 1 callers
Function
convertElementToDom
( element: IElement, options: DeepRequired<IEditorOption> )
src/editor/utils/element.ts:1081
↓ 1 callers
Method
convertLaTextToSVG
(laTex: string)
src/editor/core/draw/particle/latex/LaTexParticle.ts:6
↓ 1 callers
Function
convertMarkdownToElement
(markdown: string)
src/plugins/markdown/index.ts:23
↓ 1 callers
Function
convertPxToPaperSize
(width: number, height: number)
src/editor/utils/print.ts:4
↓ 1 callers
Function
convertTextNodeToElement
( textNode: Element | Node )
src/editor/utils/element.ts:1446
↓ 1 callers
Method
copy
(options?: ICopyOption)
src/editor/core/event/CanvasEvent.ts:223
↓ 1 callers
Method
createFloatImage
(element: IElement)
src/editor/core/draw/particle/ImageParticle.ts:71
↓ 1 callers
Function
createMockCtx
()
tests/core/draw/frame/Header.test.ts:21
↓ 1 callers
Function
createMockCtx
()
tests/core/draw/frame/Footer.test.ts:21
↓ 1 callers
Function
createOptions
(override: Partial<IEditorOption> = {})
tests/factories/options.ts:3
↓ 1 callers
Method
createPopup
()
src/editor/core/draw/control/number/Calculator.ts:27
↓ 1 callers
Function
cut
(host: CanvasEvent)
src/editor/core/event/handlers/cut.ts:4
↓ 1 callers
Function
debounce
( func: (...arg: T) => unknown, delay: number )
src/editor/utils/index.ts:4
↓ 1 callers
Function
del
(evt: KeyboardEvent, host: CanvasEvent)
src/editor/core/event/handlers/keydown/delete.ts:39
↓ 1 callers
Function
deleteHideElement
(host: CanvasEvent)
src/editor/core/event/handlers/keydown/delete.ts:4
↓ 1 callers
Function
deleteSurroundElementList
( elementList: IElement[], pageNo: number )
src/editor/utils/element.ts:1854
↓ 1 callers
Method
destroy
()
src/editor/core/draw/Draw.ts:3022
↓ 1 callers
Method
destroy
()
src/editor/core/draw/control/number/NumberControl.ts:177
↓ 1 callers
Method
dragFloatImage
(movementX: number, movementY: number)
src/editor/core/draw/particle/ImageParticle.ts:103
↓ 1 callers
Method
dragover
(evt: DragEvent | MouseEvent)
src/editor/core/event/CanvasEvent.ts:239
↓ 1 callers
Method
drawHyperlinkPopup
(element: IElement, position: IElementPosition)
src/editor/core/draw/particle/HyperlinkParticle.ts:36
↓ 1 callers
Method
drawIframeToPage
( pageList: HTMLCanvasElement[], snapDomFunction: (iframe: HTMLIFrameElement) => Promise<string> )
src/editor/core/draw/particle/block/BlockParticle.ts:103
↓ 1 callers
Method
drawListStyle
( ctx: CanvasRenderingContext2D, row: IRow, position: IElementPosition )
src/editor/core/draw/particle/ListParticle.ts:191
↓ 1 callers
Method
drawRange
( ctx: CanvasRenderingContext2D, element: IElement, startX: number, startY: number )
src/editor/core/draw/particle/table/TableParticle.ts:497
↓ 1 callers
Function
drop
(evt: DragEvent, host: CanvasEvent)
src/editor/core/event/handlers/drop.ts:5
↓ 1 callers
Function
emitSearch
()
src/main.ts:1218
↓ 1 callers
Function
enter
(evt: KeyboardEvent, host: CanvasEvent)
src/editor/core/event/handlers/keydown/enter.ts:13
↓ 1 callers
Function
environments
(exprs: Expr[])
src/editor/core/draw/particle/latex/utils/LaTexUtils.ts:190
↓ 1 callers
Method
filterAssistElement
(elementList: IElement[])
src/editor/core/draw/control/Control.ts:130
↓ 1 callers
Function
findScrollContainer
(element: HTMLElement)
src/editor/utils/index.ts:319
↓ 1 callers
Method
findStyledElement
(elementList: IElement[])
src/editor/core/draw/particle/ListParticle.ts:134
↓ 1 callers
Function
findTextNode
(dom: Element | Node)
src/editor/utils/element.ts:1500
↓ 1 callers
Function
flat
(expr: Expr, dx: number, dy: number)
src/editor/core/draw/particle/latex/utils/LaTexUtils.ts:764
↓ 1 callers
Function
flatten
(expr: Expr)
src/editor/core/draw/particle/latex/utils/LaTexUtils.ts:763
↓ 1 callers
Method
forceUpdate
(options?: IForceUpdateOption)
src/editor/core/command/CommandAdapt.ts:288
↓ 1 callers
Function
format
(tokenList: (Prism.Token | string)[])
src/utils/prism.ts:66
↓ 1 callers
Method
formatDate
(date: Date, format = 'YYYY-MM-DD HH:mm:ss')
src/editor/core/draw/particle/date/DatePicker.ts:813
↓ 1 callers
Function
formatPrismToken
( payload: (Prism.Token | string)[] )
src/utils/prism.ts:62
↓ 1 callers
Method
getAccessibility
()
src/editor/core/draw/Draw.ts:986
↓ 1 callers
Method
getAgentIsActive
()
src/editor/core/cursor/Cursor.ts:60
↓ 1 callers
Method
getAreaInfo
()
src/editor/core/draw/interactive/Area.ts:45
↓ 1 callers
Method
getBasisWordBoundingBoxAscent
( ctx: CanvasRenderingContext2D, font: string )
src/editor/core/draw/particle/TextParticle.ts:116
↓ 1 callers
Method
getBlockContainer
()
src/editor/core/draw/particle/block/BlockParticle.ts:38
↓ 1 callers
Method
getBlockParticle
()
src/editor/core/draw/Draw.ts:934
↓ 1 callers
Function
getCanvasCalls
(canvas: HTMLCanvasElement)
tests/helpers/canvas.ts:6
↓ 1 callers
Method
getCanvasEvent
()
src/editor/core/draw/Draw.ts:890
↓ 1 callers
Method
getCanvasWidth
(pageNo = -1)
src/editor/core/draw/Draw.ts:459
↓ 1 callers
Function
getCatalog
(payload: IGetCatalogPayload)
src/editor/core/worker/works/catalog.ts:69
↓ 1 callers
Method
getCatalog
()
src/editor/core/command/CommandAdapt.ts:2124
↓ 1 callers
Method
getCatalog
()
tests/factories/editor.ts:17
↓ 1 callers
Method
getCodes
()
src/editor/core/draw/control/select/SelectControl.ts:66
↓ 1 callers
Method
getContextByAreaId
( areaId: string, options?: ILocationAreaOption )
src/editor/core/draw/interactive/Area.ts:208
↓ 1 callers
Method
getContextByGroupId
( elementList: IElement[], groupId: string )
src/editor/core/draw/interactive/Group.ts:99
↓ 1 callers
Method
getContextInnerWidth
()
src/editor/core/draw/Draw.ts:481
↓ 1 callers
Method
getControlHighlight
(elementList: IElement[], index: number)
src/editor/core/draw/control/Control.ts:362
↓ 1 callers
Method
getCtx
()
src/editor/core/draw/Draw.ts:629
↓ 1 callers
Method
getCursorPosition
()
src/editor/core/command/CommandAdapt.ts:1522
↓ 1 callers
Method
getDraw
()
src/editor/core/draw/particle/block/BlockParticle.ts:34
↓ 1 callers
Method
getElementListByGroupId
( elementList: IElement[], groupId: string )
src/editor/core/draw/interactive/Group.ts:45
← previous
next →
501–600 of 1,174, ranked by callers