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
project
Project.js
on
nearest-point
User selector
All users
All time
Commit history
Commits on Apr 23, 2013
Rename Svg acronyms in API to SVG.
lehni
committed
96d9b67
View commit details
Copy full SHA for 96d9b67
View code at this point
Browse repository at this point
Rename Json acronyms in API to JSON.
lehni
committed
cebeb11
View commit details
Copy full SHA for cebeb11
View code at this point
Browse repository at this point
Implement Project#clear().
lehni
committed
1b61e43
View commit details
Copy full SHA for 1b61e43
View code at this point
Browse repository at this point
Commits on Apr 20, 2013
Simplify Style creation.
lehni
committed
3025c63
View commit details
Copy full SHA for 3025c63
View code at this point
Browse repository at this point
Commits on Apr 19, 2013
Make #drawSelected() protected.
lehni
committed
2e26569
View commit details
Copy full SHA for 2e26569
View code at this point
Browse repository at this point
Inline Item.drawSelectedBounds() code.
lehni
committed
517b2ee
View commit details
Copy full SHA for 517b2ee
View code at this point
Browse repository at this point
Move Item.draw() to Item#draw().
Show description for 9ee8590
lehni
committed
9ee8590
View commit details
Copy full SHA for 9ee8590
View code at this point
Browse repository at this point
Commits on Apr 10, 2013
Minor tweaks.
lehni
committed
0f19e72
View commit details
Copy full SHA for 0f19e72
View code at this point
Browse repository at this point
Calculate _globalMatrix for all drawn items and use it for the drawing of selections.
lehni
committed
90cc10c
View commit details
Copy full SHA for 90cc10c
View code at this point
Browse repository at this point
Commits on Apr 9, 2013
Merge PathStyle, CharacterStyle and ParagraphStyle into Style.
Show description for b4a9941
lehni
committed
b4a9941
View commit details
Copy full SHA for b4a9941
View code at this point
Browse repository at this point
Commits on Mar 16, 2013
Fix hit-testing documentation: change options.guide to options.guides.
puckey
committed
2b7f526
View commit details
Copy full SHA for 2b7f526
View code at this point
Browse repository at this point
Commits on Mar 2, 2013
Minor changes on documentation.
lehni
committed
5140e8f
View commit details
Copy full SHA for 5140e8f
View code at this point
Browse repository at this point
Define Project#options as a way to configure things.
Show description for c543704
lehni
committed
c543704
View commit details
Copy full SHA for c543704
View code at this point
Browse repository at this point
Commits on Feb 26, 2013
Rename #from/#toJson() to #import/#exportJson() and move them to Project / Item.
Show description for 65a9795
lehni
committed
65a9795
View commit details
Copy full SHA for 65a9795
View code at this point
Browse repository at this point
Commits on Feb 25, 2013
Fix drawing of selected bounds for Path.
lehni
committed
8202965
View commit details
Copy full SHA for 8202965
View code at this point
Browse repository at this point
Commits on Feb 24, 2013
Simplify drawing of seleced bounds by having Item#_boundsSelelected default to true for Raster, PlacedSymbol and TextItem.
Show description for 0d98727
lehni
committed
0d98727
View commit details
Copy full SHA for 0d98727
View code at this point
Browse repository at this point
Implement Item#bounds.selected to control drawing of selected item bounds.
lehni
committed
6b7c6b6
View commit details
Copy full SHA for 6b7c6b6
View code at this point
Browse repository at this point
Commits on Feb 16, 2013
Fix issue in Project#deselectAll().
lehni
committed
9d708f2
View commit details
Copy full SHA for 9d708f2
View code at this point
Browse repository at this point
Commits on Feb 12, 2013
Add options argument to #toJson() methods, and use to implement optional fractional digit precision control.
lehni
committed
fdd15e6
View commit details
Copy full SHA for fdd15e6
View code at this point
Browse repository at this point
Implement support for dictionary definitions and references in JSON serialization.
lehni
committed
00dcd05
View commit details
Copy full SHA for 00dcd05
View code at this point
Browse repository at this point
Implement simple Project serialization.
lehni
committed
6d39a91
View commit details
Copy full SHA for 6d39a91
View code at this point
Browse repository at this point
Commits on Feb 9, 2013
Move named inner functions out of nested scopes, to prepare for 'use strict;' transition.
lehni
committed
dc35fdb
View commit details
Copy full SHA for dc35fdb
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 Jan 20, 2013
Fix a bug with new _drawCount code.
Show description for 1857227
lehni
committed
1857227
View commit details
Copy full SHA for 1857227
View code at this point
Browse repository at this point
Introduce Project#_drawCount mechanism as a better and more efficient way to filter out selected items that are not currently part of the DOM.
lehni
committed
50ee598
View commit details
Copy full SHA for 50ee598
View code at this point
Browse repository at this point
Commits on Dec 30, 2012
Merge Base.readValue() with Base.read() and rename Base.peekValue() to Base.peek().
Show description for 2abefee
lehni
committed
2abefee
View commit details
Copy full SHA for 2abefee
View code at this point
Browse repository at this point
Commits on Dec 17, 2012
Simplify getGlobalMatrix().
lehni
committed
9022bb2
View commit details
Copy full SHA for 9022bb2
View code at this point
Browse repository at this point
Handle scroll matrices correctly when drawing selections.
Show description for 481b2e0
lehni
committed
481b2e0
View commit details
Copy full SHA for 481b2e0
View code at this point
Browse repository at this point
Commits on Dec 3, 2012
Improve handling of item based onFrame handlers, by moving functionality to View and removing handlers properly when the view is destroyed.
lehni
committed
cf5853c
View commit details
Copy full SHA for cf5853c
View code at this point
Browse repository at this point
Commits on Nov 23, 2012
Improve handling of nested matrices in hit-testing.
Show description for 906faf7
lehni
committed
906faf7
View commit details
Copy full SHA for 906faf7
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
Commits on Dec 20, 2011
Implement local caching for the calculation of concatenated global matrices in the drawing of selected items in Project#draw().
lehni
committed
a8392fb
View commit details
Copy full SHA for a8392fb
View code at this point
Browse repository at this point
Implement new selection drawing mechanism.
Show description for 93ede28
lehni
committed
93ede28
View commit details
Copy full SHA for 93ede28
View code at this point
Browse repository at this point
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 28, 2011
We can directly access Item#_id.
Show description for cadc2e7
lehni
committed
cadc2e7
View commit details
Copy full SHA for cadc2e7
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.