Hi Folks,
When I try to draw a 1 px line of width 1px, it is never as thin as
it appears when I draw it with CSS (for example: border:1px )
If I decrease the stroke's width to a value below 1, the color starts
to fade.
Any thoughts on how to draw a thin line?
---Code used to draw line--
var graphics = goog.graphics.createGraphics(500,500),
fill = new goog.graphics.SolidFill('black',1),
stroke = new goog.graphics.Stroke(1, 'black'),
path = graphics.createPath().moveTo(10,10);
path.lineTo(100,10);
graphics.drawPath(path,stroke,null);
TIA,
K
--
Subscription settings:
http://groups.google.com/group/closure-library-discuss/subscribe?hl=en