■ MatrixTransform 엘리먼트의 Matrix 속성을 사용하는 방법을 보여준다.
▶ 예제 코드 (XAML)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
<Path HorizontalOptions="Center" VerticalOptions="Center" WidthRequest="100" HeightRequest="100" Stroke="Black" Aspect="Uniform" Data="M 13.908992,16.207977 L 32.000049 16.207977 32.000049 31.999985 13.908992 30.109983 Z"> <Path.RenderTransform> <MatrixTransform> <MatrixTransform.Matrix> <Matrix OffsetX="10" OffsetY="100" M11="1.5" M12="1" /> </MatrixTransform.Matrix> </MatrixTransform> </Path.RenderTransform> </Path> |