Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptCollection
/
paper.js
Public
forked from
paperjs/paper.js
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
paper.js
src
ui
CanvasView.js
on
master
User selector
All users
All time
Commit history
Commits on Oct 25, 2013
Fix spelling mistake in CanvasView#initialize. Closes #316.
puckey
committed
61ecf44
View commit details
Copy full SHA for 61ecf44
View code at this point
Browse repository at this point
Commits on Oct 14, 2013
Improve CanvasView constructor.
Show description for 7285ec6
lehni
committed
7285ec6
View commit details
Copy full SHA for 7285ec6
View code at this point
Browse repository at this point
Commits on Oct 10, 2013
Switch from options.browser and options.node to options.environment
lehni
committed
c68a7d3
View commit details
Copy full SHA for c68a7d3
View code at this point
Browse repository at this point
Optimise DomElement.getPrefixValue()
lehni
committed
d158056
View commit details
Copy full SHA for d158056
View code at this point
Browse repository at this point
Implement support for Hi-DPI canvas on Retina screens.
lehni
committed
22e13df
View commit details
Copy full SHA for 22e13df
View code at this point
Browse repository at this point
Commits on Aug 8, 2013
Fix typos in comments.
lehni
committed
6b19f25
View commit details
Copy full SHA for 6b19f25
View code at this point
Browse repository at this point
Commits on Jul 19, 2013
Use fire('frame') instead of onFrame(), to correctly handle frame events on Node.
lehni
committed
3224876
View commit details
Copy full SHA for 3224876
View code at this point
Browse repository at this point
Commits on Jun 27, 2013
Improved PrePro to be able to dynamically load Node.js code too, and improve load.js to handle both environments.
Show description for 4f5dac8
lehni
committed
4f5dac8
View commit details
Copy full SHA for 4f5dac8
View code at this point
Browse repository at this point
Commits on Jun 24, 2013
Bring back _class names, since code minification breaks reliance on constructor.name.
Show description for a4535ed
lehni
committed
a4535ed
View commit details
Copy full SHA for a4535ed
View code at this point
Browse repository at this point
Commits on May 28, 2013
Rename options.server to options.node
lehni
committed
6fa6c02
View commit details
Copy full SHA for 6fa6c02
View code at this point
Browse repository at this point
Remove all create() constructors for basic types since new constructors are now faster.
Show description for cd7db56
lehni
committed
cd7db56
View commit details
Copy full SHA for cd7db56
View code at this point
Browse repository at this point
Remove need for _needsRedraw() calls by replacing it with a boolean flag.
lehni
committed
4e6f52c
View commit details
Copy full SHA for 4e6f52c
View code at this point
Browse repository at this point
Commits on May 27, 2013
Implement a better way to name and export class constructors.
Show description for 10d5de3
lehni
committed
10d5de3
View commit details
Copy full SHA for 10d5de3
View code at this point
Browse repository at this point
Change straps.js to directly use initialize() as constructor function rather than redirecting calls to it.
Show description for 369b329
lehni
committed
369b329
View commit details
Copy full SHA for 369b329
View code at this point
Browse repository at this point
Commits on May 9, 2013
Fix issues with running paper.js in node.
Show description for 8dbe1f4
lehni
committed
8dbe1f4
View commit details
Copy full SHA for 8dbe1f4
View code at this point
Browse repository at this point
Commits on Mar 5, 2013
Fix issue with click events on items.
Show description for 52af99d
lehni
committed
52af99d
View commit details
Copy full SHA for 52af99d
View code at this point
Browse repository at this point
Clean up mouse-handling code and add support for Project#options.hitTolerance.
lehni
committed
8185cc0
View commit details
Copy full SHA for 8185cc0
View code at this point
Browse repository at this point
Commits on Feb 15, 2013
In case of doubleclick mouse events, still fire normal clicks if no doubleclick handler stops event bubbling.
lehni
committed
701c5fd
View commit details
Copy full SHA for 701c5fd
View code at this point
Browse repository at this point
Commits on Feb 13, 2013
Define CanvasProvider.getContext() next to getCanvas(), and support both types in release().
lehni
committed
ca3cc7f
View commit details
Copy full SHA for ca3cc7f
View code at this point
Browse repository at this point
Commits on Feb 12, 2013
Shorten CanvasProvider method names.
lehni
committed
357b7db
View commit details
Copy full SHA for 357b7db
View code at this point
Browse repository at this point
Commits on Jan 29, 2013
Update copyright information comments, and year.
lehni
committed
6c9c16a
View commit details
Copy full SHA for 6c9c16a
View code at this point
Browse repository at this point
Commits on Dec 17, 2012
Fix support for double-click events.
Show description for 2218ca3
lehni
committed
2218ca3
View commit details
Copy full SHA for 2218ca3
View code at this point
Browse repository at this point
Commits on Nov 6, 2012
Fix a row of documentation issues.
lehni
committed
4e1db6a
View commit details
Copy full SHA for 4e1db6a
View code at this point
Browse repository at this point
Commits on Dec 27, 2011
Fix drawing of selected items in zoomed views.
lehni
committed
2280c0c
View commit details
Copy full SHA for 2280c0c
View code at this point
Browse repository at this point
Move stats update to onFrame handler.
lehni
committed
7b03dbe
View commit details
Copy full SHA for 7b03dbe
View code at this point
Browse repository at this point
Commits on Dec 20, 2011
Pass on view matrix to Project#draw.
Show description for 010209c
lehni
committed
010209c
View commit details
Copy full SHA for 010209c
View code at this point
Browse repository at this point
Commits on Nov 29, 2011
Replace new Size(x, y) calls with internal Size.create(x, y).
lehni
committed
b5e4697
View commit details
Copy full SHA for b5e4697
View code at this point
Browse repository at this point
Commits on Nov 17, 2011
Add comments and clean up code.
lehni
committed
b9f6c99
View commit details
Copy full SHA for b9f6c99
View code at this point
Browse repository at this point
Commits on Nov 16, 2011
Fix a comment.
lehni
committed
427cc21
View commit details
Copy full SHA for 427cc21
View code at this point
Browse repository at this point
Implement MouseEvent#delta for Item#onMouseDrag and #onMouseMove.
lehni
committed
1b484a2
View commit details
Copy full SHA for 1b484a2
View code at this point
Browse repository at this point
Change parameter sequence in mouse event code.
lehni
committed
cf54b1a
View commit details
Copy full SHA for cf54b1a
View code at this point
Browse repository at this point
Simplify event handling code.
lehni
committed
9061daa
View commit details
Copy full SHA for 9061daa
View code at this point
Browse repository at this point
Implement Item#onMouseDrag evnets, and have them silence #onMouseMove events if both are present.
lehni
committed
80d3763
View commit details
Copy full SHA for 80d3763
View code at this point
Browse repository at this point
Implement Item#onClick and #onDoubleClick.
lehni
committed
d066ad7
View commit details
Copy full SHA for d066ad7
View code at this point
Browse repository at this point
Implement Item#onMouseEnter / #onMouseLeave.
lehni
committed
b3bf57c
View commit details
Copy full SHA for b3bf57c
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.