{"id":17475034,"url":"https://github.com/skadimoolam/canvas-snippets","last_synced_at":"2025-03-03T13:40:32.126Z","repository":{"id":23375364,"uuid":"26736775","full_name":"skadimoolam/Canvas-Snippets","owner":"skadimoolam","description":"Canvas Snippets makes coding with HTML5 Canvas APIs easier.","archived":false,"fork":false,"pushed_at":"2016-12-12T06:18:42.000Z","size":45,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-23T22:51:53.037Z","etag":null,"topics":["canvas","canvas-snippets","html5-canvas-api","packagecontrol","sublime-text"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skadimoolam.png","metadata":{"files":{"readme":"README.md","changelog":"Changes.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-17T02:35:36.000Z","updated_at":"2023-10-03T21:51:10.000Z","dependencies_parsed_at":"2022-08-21T23:31:08.470Z","dependency_job_id":null,"html_url":"https://github.com/skadimoolam/Canvas-Snippets","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skadimoolam%2FCanvas-Snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skadimoolam%2FCanvas-Snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skadimoolam%2FCanvas-Snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skadimoolam%2FCanvas-Snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skadimoolam","download_url":"https://codeload.github.com/skadimoolam/Canvas-Snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241675743,"owners_count":20001328,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["canvas","canvas-snippets","html5-canvas-api","packagecontrol","sublime-text"],"created_at":"2024-10-18T18:42:59.934Z","updated_at":"2025-03-03T13:40:32.108Z","avatar_url":"https://github.com/skadimoolam.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Canvas Snippets is a plugin for SublimeText 2 \u0026 3 to make coding with HTML5 Canvas API a little easier.\n\n### Installing\n***\nDownload the latest version:  \n\n* https://github.com/skadimoolam/Canvas-Snippets/releases\n\n#### or\n\nInstall it via Package Control.  \n\n* Install [PackageControl](https://packagecontrol.io/installation)        \n* Find PackageControl in the Command Palette(`CTRL+SHIFT+P`)  \n* Search for `Canvas Snippets` and Install it.\n\n\n### Using\n***\nUsing these snippets are as easy as typeing the first two letters of a Method and Entering `Tab`.\n\nExamples:\n\n* To revel the `stroke()` method, type `st` and Press `Tab`.\n* To insert the `rotate()` method, type `ro` and Press `Tab`.\n\nAnd So on.........\n\nFor when the Method/Property names are more than one word, type the second word's first two letters with the first two letters of the first word like in the examples below.\n\n* To revel the `shadowColor` property, type `shco` and Press `Tab`.\n* To insert the `beginPath()` method, type `bepa` and Press `Tab`.\n\nAnd So on.........\n\n**NOTE**: Remember everything you type before entering the `Tab` must be in Lower Case.\n\n\n### Major Change since v1.1.0\n***\nUp until this release you would have to type `context` or `ctx` or whatever you have named the Canvas' Context and then the tabtrigger to insert a snippet but, from here on you don't have to enter the Context, it set to \"ctx\" as default and **cannot be changed**.\n\nSo, if you type `fi`  \npreviously it would just be `fill()`  \nbut now it will be `ctx.fill()`\n\nI have also added a [CheatSheet.txt](https://github.com/skadimoolam/Canvas-Snippets/blob/master/CheatSheet.txt) which you can make use of when using these snippets.\n\n***\n\nIf you have any doubts about how to use a snippet, please refer to my **[CheatSheet](https://github.com/skadimoolam/Canvas-Snippets/blob/master/CheatSheet.md)** File or\n\nIf something is not working right please make an issue **[HERE](https://github.com/skadimoolam/Canvas-Snippets/issues)**\n\n### Your Thoughts and Contributions are always appropriated.\n\n***\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskadimoolam%2Fcanvas-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskadimoolam%2Fcanvas-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskadimoolam%2Fcanvas-snippets/lists"}