开发者

How do you get the end cap width or height values for line objects?

Does anybody know how you can get the endcap width or height values for a line object in C# WPF? Please assume we are using the round endcap (PenLineCap.Round), would like to figure this as a percentage of the line width or som开发者_开发百科e other ratio that would allow me to know the size in pixels of the endcap at any given time. Thanks all.


If you are using a PenLineCap.Round end cap on a WPF line, the line's StrokeThickness will determine the size of the end cap.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜