开发者

Prevent Silverlight from scaling line width

When using the ScaleTransform class, Silverlight also scale the thickness of the strokes on the shapes that I display. But what if I don't want this behaviour? Is开发者_开发知识库 it possible to disable the scaling of strokes, or will I have to iterate over every shape object and set the reciprocal thickness?


A ScaleTransform is a render transform. It doesn't change the underlying layout just changes the way it is drawn on the screen. It isn't possible to have the points scale but not have the line thickness scale.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜