MCPcopy Index your code
hub / github.com/caleb531/jcanvas

github.com/caleb531/jcanvas @v23.0.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v23.0.0 ↗ · + Follow
181 symbols 422 edges 13 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

jCanvas

Copyright 2017-2024, Caleb Evans
Released under the MIT license

jCanvas is a jQuery plugin that makes the HTML5 canvas easy to work with. For more details on what it can do, visit the website.

Download

jCanvas requires jQuery 1.9 or newer, and supports both desktop and mobile browsers.

If you are using a build pipeline, you can install jCanvas like so:

npm install jquery
npm install jcanvas
npm install -D @types/jquery # Only needed for TypeScript

Documentation

Please search the online documentation before emailing me any questions you may have. If something in the documentation isn't clear, feel free to email me for clarification.

Support

If you are reporting a jCanvas bug, please include the following information in your report:

  • The version of jCanvas you used
  • A complete code sample that reproduces the issue
  • What you expected to happen
  • What happened instead

License

jCanvas is available as a free and open-source library under the MIT license.

Extension points exported contracts — how you extend this code

JCanvasDefaults (Interface)
(no doc) [1 implementers]
src/jcanvas.d.ts
JCanvasDefaults (Interface)
(no doc)
src/jcanvas-hearts.d.ts
JCanvasDefaults (Interface)
(no doc)
src/jcanvas-donuts.d.ts
JCanvasLayerWithHandles (Interface)
(no doc)
src/jcanvas-handles.ts
JCanvasDefaults (Interface)
(no doc)
src/jcanvas-handles.d.ts
JCanvasDefaults (Interface)
(no doc)
src/jcanvas-crescents.d.ts
JCanvasPluginParams (Interface)
(no doc)
src/jcanvas.d.ts
JQuery (Interface)
(no doc)
src/jcanvas-hearts.d.ts

Core symbols most depended-on inside this repo

getLayer
called by 47
src/jcanvas.d.ts
_isCanvas
called by 42
src/jcanvas.ts
addLayer
called by 35
src/jcanvas.d.ts
_getContext
called by 30
src/jcanvas.ts
_getCanvasData
called by 26
src/jcanvas.ts
_getParamsObject
called by 25
src/jcanvas.ts
_addLayer
called by 22
src/jcanvas.ts
_triggerLayerEvent
called by 18
src/jcanvas.ts

Shape

Function 96
Method 59
Interface 22
Class 4

Languages

TypeScript100%

Modules by API surface

src/jcanvas.ts77 symbols
src/jcanvas.d.ts69 symbols
src/jcanvas-handles.ts16 symbols
tests/tests/jcanvas-tests.js8 symbols
src/jcanvas-hearts.d.ts3 symbols
src/jcanvas-donuts.d.ts3 symbols
src/jcanvas-crescents.d.ts3 symbols
src/jcanvas-handles.d.ts1 symbols
src/jcanvas-crescents.ts1 symbols

For agents

$ claude mcp add jcanvas \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page