Addind border to canvas

Completado Publicado Apr 18, 2013 Pagado a la entrega
Completado Pagado a la entrega

This is very simple project.

You need to write a function that get a canvas element, and return new canvas element with nice border around.

function (getCanvas){

newCanvas=$('')

newCanvas.width=getCanvas.width+10

newCanvas.height=getCanvas.height+10

/// Copy the 'getCanvas' to newCanvas and add a border around it.

}

You have to find 5 borders for that.

I gave you an example of 2 borders. (see attachment)

Some clarifications:

1. It can't be done with CSS because I need the border INSIDE the canvas, to be able to save the canvas with the border using the JavaScript for example:
getContext('2d').toDataURL()

2. You have to find some nice border. no only the 2 I attached.

JavaScript

Nº del proyecto: #4442043

Sobre el proyecto

4 propuestas Proyecto remoto Activo Apr 19, 2013

Adjudicado a:

fattahaabdul

I am expert in Java Script, CSS and HTML 5. Currently converting games from Flash and developing in HTMl 5 and JAVA Script. All our game is inside canvas only. Got a drag and Drop concept there. So your project is easi Más

$36 USD en 15 días
(1 comentario)
1.2

4 freelancers están ofertando un promedio de $53 por este trabajo

honeypotant

Dear Sir. I'm very interested in your job post involving these skills. I have consistently delivered projects on time and under budget, which has earned us many positive ratings, as you'll see in work history. I Más

$100 USD en 3 días
(4 comentarios)
2.4
zsekhniashvili

I can do this task as u want.

$35 USD en 1 día
(3 comentarios)
2.3
farhaoui

HI, READY TO START WORK. LETS START AND FINISH IT ASAP. I HAVE 8 YEARS OF EXPERIENCE IN WEB DEVELOPMENT FIELD ( PHP, MYSQL, AJAX, JQUERY, HTML, CSS... ). THANK YOU !!

$64 USD en 3 días
(1 comentario)
1.4
indianraja

Hi AminaDev Within couple of hours i could finish your work

$35 USD en 1 día
(0 comentarios)
0.0
Cygnusinfomedia

We have a pool of experts as designers creating logos for various clients. Kindly check out PMB for links to understand the quality of our past work.

$105 USD en 1 día
(1 comentario)
0.0