Addind border to canvas

Ολοκληρωμένο Αναρτήθηκε Apr 18, 2013 Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

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

Ταυτότητα Εργασίας: #4442043

Σχετικά με την εργασία

4 προτάσεις Απομακρυσμένη εργασία Ενεργό Apr 19, 2013

Ανατέθηκε στον:

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 Περισσότερα

$36 USD σε 15 μέρες
(1 Κριτική)
1.2

4 freelancers κάνουν προσφορές κατά μέσο όρο $53 για αυτή τη δουλειά

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 Περισσότερα

$100 USD σε 3 μέρες
(4 Αξιολογήσεις)
2.4
zsekhniashvili

I can do this task as u want.

$35 USD σε 1 μέρα
(3 Αξιολογήσεις)
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 σε 3 μέρες
(1 Κριτική)
1.4
indianraja

Hi AminaDev Within couple of hours i could finish your work

$35 USD σε 1 μέρα
(0 Αξιολογήσεις)
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 σε 1 μέρα
(1 Κριτική)
0.0