开发者

What is M and L in GeometryDrawing?

What is the meaning of M and L in this code?

<GeometryDrawing x:Name=”Front” Brush=”R开发者_StackOverflowed”
Geometry=”M0,260 L0,600 L110,670 L110,500 L190,550 L190,710 L300,775
L300,430 L150,175”/>


M is for move to, L is for line to, etc. You should check this link: https://learn.microsoft.com/en-us/dotnet/desktop/wpf/graphics-multimedia/shapes-and-basic-drawing-in-wpf-overview section XAML Abbreviated Syntax.

Or better https://learn.microsoft.com/en-us/dotnet/desktop/wpf/graphics-multimedia/path-markup-syntax.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜