Skip to content

Instantly share code, notes, and snippets.

@carllerche
Created February 11, 2010 21:05
Show Gist options
  • Save carllerche/301956 to your computer and use it in GitHub Desktop.
Save carllerche/301956 to your computer and use it in GitHub Desktop.
beginPath();
this.arrowShape();
// Outset shadow
save();
shadowOffsetX = 0;
shadowOffsetY = -1;
shadowBlur = 5;
shadowColor = 'rgba(255, 255, 255, 1)';
fill();
restore();
// Punch out arrow
save();
globalCompositeOperation = 'destination-out';
restore();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment