Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 10th, 2012  |  syntax: None  |  size: 0.25 KB  |  hits: 7  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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");