Find Jobs
Hire Freelancers

Agregar boton borrar a HTML creado con Canvas y Konva

$10-30 USD

已取消
已发布将近 6 年前

$10-30 USD

货到付款
I have a javascript and an html that together make it possible to draw on a canvas. In its initial version it was necessary to add a button that would allow to erase the colors that are used in the drawing. I need to add that functionality. Agrego un framento del codigo para que tengan la dimension tecnica del ajuste var defaults ={ "cs" : 1, "ck" : 5, "ct" : "pencil", "element" : "tools", "circle" : [[50,50,5],[90,50,10],[140,50,15]], "rect" : [[200,30,'yellow'],[320,30,'blue'],[440,30,'green'],[560,30,'red'],[680,30,'black']], "paint" : [[950,30,'pencil','img/[login to view URL]'], [1020,30,'brush','img/[login to view URL]']] }; [login to view URL] = new [login to view URL]({ container: [login to view URL], width: $('#'+[login to view URL]).width(), height: $('#'+[login to view URL]).height() }); var result={ "option" : oPtion, "delta" : 0, "circle" : [], "linePoints": [], "linePointXY": [], "planPoints": [], "brushLayer": new [login to view URL](), "backLayer" : new [login to view URL](), "panelLayer": new [login to view URL](), "lineLayer" : new [login to view URL](), }; if([login to view URL] == "pencil" || [login to view URL] == "brush") { //planPoints var xy = [login to view URL](); var pxy ={x:0, y:0, f:0} for(var i=0; i<[login to view URL]; i++){ if(xy.x > [login to view URL][i][0]-5 && xy.x < [login to view URL][i][0]+5){ if(xy.y > [login to view URL][i][1]-5 && xy.y < [login to view URL][i][1]+5){ pxy.x = [login to view URL][i][0]; pxy.y = [login to view URL][i][1]; pxy.f = 1; } } } if([login to view URL] == "brush" && [login to view URL] == false && isInside([login to view URL], xy) == true) {
项目 ID: 16909643

关于此项目

5提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
5威客以平均价$28 USD来参与此工作竞价
用户头像
Hi, I understood your requirement. I have 5 years experience in my skills and able to do your tasks for canvas. Feel free to contact me anytime for further discussion. Thanks
$25 USD 在1天之内
5.0 (8条评论)
5.1
5.1
用户头像
It does not matter how much you pay after delivery work in the end We will work on it now We will offer you the same day Quick implementation Deal seriously I am ready to work Professional design Very professional designer Distinguish coordination and speed of performance Responsive design with all devices It does not matter I want you to send work What explain what you want to do exactly The work will be sent as soon
$25 USD 在0天之内
4.9 (12条评论)
3.3
3.3
用户头像
I am a professional web Designer. Relevant Skills and Experience I will create &amp; design a professional and responsive good looking website for you in HTML, CSS Bootstrap, UI kit, JAVA script, JQUARY.&nbsp;I can design any kind of website outstanding. Thanks.
$20 USD 在2天之内
0.0 (0条评论)
0.0
0.0

关于客户

COLOMBIA的国旗
BOGOTA, Colombia
5.0
1
付款方式已验证
会员自2月 10, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。