Guest User

Untitled

a guest
Aug 10th, 2012
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. How to apply (or maintain) line style in Raphael after scaling?
  2. paper = new Raphael(0, 0, 200, 200);
  3. paper.path("M 0,0 l 200,200").attr({"stroke-width": "8px"});
  4.  
  5. paper.path("M 0,0 l 200,200").attr({"stroke-width": "8px"}).transform("s -1,1");
Advertisement
Add Comment
Please, Sign In to add comment