به نام خدا سلام بر برنامه نویسان عزیز 😉 در این مطلب آموزش چرخش 45 درجه Polyline از نقطه 0 و 0 در #C را آماده کردم. امیدوارم که این کد برای شما مفید باشد.
خروجی این کد:
کد چرخش 45 درجه Polyline از نقطه 0 و 0 در #C :
<Window x:Class="Workspace.DockExample"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Workspace" Width="640" Height="480">
<Canvas Height="200" Width="200">
<Polyline Points="25,25 0,50 25,75 50,50 25,25 25,0"
Stroke="Blue" StrokeThickness="10"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Workspace" Width="640" Height="480">
<Canvas Height="200" Width="200">
<Polyline Points="25,25 0,50 25,75 50,50 25,25 25,0"
Stroke="Blue" StrokeThickness="10"