Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alefore/knit
/ functions
Functions
149 in github.com/alefore/knit
⨍
Functions
149
◇
Types & classes
61
Method
buildStitches
( numberOfStitches: number, knittingStyle: RowSwitchStyle, rowIndex: number)
src/texture.ts:54
Method
buildStitches
( numberOfStitches: number, knittingStyle: RowSwitchStyle, rowIndex: number)
src/texture.ts:63
Method
buildStitches
( numberOfStitches: number, knittingStyle: RowSwitchStyle, rowIndex: number)
src/texture.ts:73
Method
buildStitches
( numberOfStitches: number, knittingStyle: RowSwitchStyle, rowIndex: number)
src/texture.ts:84
Method
buildStitches
( numberOfStitches: number, knittingStyle: RowSwitchStyle, rowIndex: number)
src/texture.ts:95
Method
buildStitches
( numberOfStitches: number, knittingStyle: RowSwitchStyle, rowIndex: number)
src/texture.ts:118
Method
constructor
(sequence: Stitch[], repetitions: number)
src/stitch_sequence.ts:8
Method
constructor
(onRowSelected: (row: number) => void)
src/pattern_canvas_view.ts:22
Method
constructor
( sectionId: number, sectionCountInput: PatternFactoryInput, knittingStyleInput: PatternFactoryInp
src/triangles_pattern_factory.ts:15
Method
constructor
()
src/triangles_pattern_factory.ts:106
Method
constructor
(stitches: Stitch[] = [])
src/row.ts:53
Method
constructor
( cables: number, rowsBetweenCables: number, cableEdgeRows: number, smoothingRows: number, innerCa
src/cable_pattern_factory.ts:21
Method
constructor
()
src/cable_pattern_factory.ts:274
Method
constructor
(canvas: HTMLCanvasElement, delegate: CanvasInputHandlerDelegate)
src/canvas_input_handler.ts:30
Method
constructor
()
src/listener.ts:9
Method
constructor
()
src/scarf_pattern_factory.ts:44
Method
constructor
( id: string|null, text: string, description: string, action: (e: MouseEvent) => void)
src/control_button.ts:9
Method
constructor
(canvas: HTMLCanvasElement)
src/pattern_renderer.ts:10
Method
constructor
(onLeft: () => void, onRight: () => void)
src/swipe.ts:15
Method
constructor
( name: string, tooltip: string, defaultValue: string|number, units: string|null = null, selectVal
src/inputs.ts:15
Method
constructor
( inputStitches: number, outputStitches: number, representation: string, color: string, to
src/stitch.ts:10
Method
constructor
()
src/pattern.ts:24
Method
constructor
()
src/capelet_pattern_factory.ts:19
Method
constructor
()
src/knit.ts:38
Method
flatten
* Flattens the nested sequence into a flat array of Stitch instances.
src/stitch_sequence.ts:88
Method
flatten
* Flattens the stitch into an array.
src/stitch.ts:42
Method
getCurrentCanvasState
()
src/pattern_canvas_view.ts:47
Method
getFactory
(name: string)
src/pattern_factory_registry.ts:12
Method
getInputs
()
src/triangles_pattern_factory.ts:38
Method
getInputs
()
src/triangles_pattern_factory.ts:121
Method
getInputs
()
src/cable_pattern_factory.ts:301
Method
getInputs
()
src/scarf_pattern_factory.ts:74
Method
getInputs
()
src/capelet_pattern_factory.ts:45
Method
handleClick
(event: MouseEvent)
src/canvas_input_handler.ts:102
Method
handleClickOnPattern
(patternCoords: KnitPoint)
src/pattern_canvas_view.ts:165
Method
handleMouseDown
(event: MouseEvent)
src/canvas_input_handler.ts:73
Method
handleMouseMove
(event: MouseEvent)
src/canvas_input_handler.ts:80
Method
handleMouseUp
()
src/canvas_input_handler.ts:98
Method
handlePan
(delta: KnitPoint)
src/pattern_canvas_view.ts:141
Method
handleWheel
(event: WheelEvent)
src/canvas_input_handler.ts:65
Method
handleZoom
(scaleAmount: number, mouseCanvasCoords: KnitPoint)
src/pattern_canvas_view.ts:147
Method
html
* Generates the HTML representation of the stitch sequence.
src/stitch_sequence.ts:17
Method
inputStitches
* Total input stitches required.
src/stitch_sequence.ts:68
Method
inputStitches
()
src/row.ts:58
Method
outputStitches
* Total output stitches resulting from the sequence.
src/stitch_sequence.ts:78
Method
outputStitches
()
src/row.ts:63
Method
outputStitches
()
src/pattern.ts:46
Method
resizeCanvas
()
src/pattern_canvas_view.ts:97
Method
showRowDirection
()
src/pattern.ts:54
← previous
101–149 of 149, ranked by callers