Wednesday, August 29, 2012

How to set stroke width for Canvas Context2d?


I'd like to change the stroke width but am not clear how to do this:

    Context2d context = ...;
    context.setStrokeStyle(FillStrokeStyle ?);

I'm not sure how to create a FillStrokeStyle object (or specifically how to create one where I can control its width). Anyone know?


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment