Comments (2)
To change the outline image, change the src property of the outlineImage variable in the init function.
Changing the dimensions of the drawing canvas is quite a bit more involved. It includes changing the background image and drawing area variables.
from html5-paint-bucket-tool.
Hello William,
Thank you for the answer.
I saw which variable had the source file, but the problem is about the new
image resolution (700x569px, in my case).
I'm playing with _drawingAreaX, drawingAreaY, drawingAreaWidth
*and_drawingAreaHeight
- variables, with no success at 100%.
My objective is to use my own color tools and layout, so I'm trying to have
the canvas object only with the drawing area inside (so the canvas will be
700x569px, same resolution like the image file).
Could help me on this?
Thank you in advance.
Regards,
On Mon, Mar 4, 2013 at 7:31 PM, William Malone [email protected]:
To change the outline image, change the src property of the outlineImagevariable in the
init function.Changing the dimensions of the drawing canvas is quite a bit more
involved. It includes changing the background image and drawing area
variables.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-14396420
.
from html5-paint-bucket-tool.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from html5-paint-bucket-tool.