1.

Explain The Path Instructions In Xaml

Answer»

The <path> instruction of XAML allows to DRAW and fill a path. Various points in the path represents are represented by the Data ATTRIBUTE. The attribute includes M which means to move to command, moves to a coordinate and C represents the absolute path. The H represents LINE to command.

The following is the code snippet to draw a path:
<Path Data="M 200,40 C 50,90 200,250 200,75 H 480" Stroke="BLACK" StrokeThickness="4"/>

The <path> instruction of XAML allows to draw and fill a path. Various points in the path represents are represented by the Data attribute. The attribute includes M which means to move to command, moves to a coordinate and C represents the absolute path. The H represents line to command.

The following is the code snippet to draw a path:
<Path Data="M 200,40 C 50,90 200,250 200,75 H 480" Stroke="Black" StrokeThickness="4"/>



Discussion

No Comment Found