<UserControl x:Class="CtrEditor.ObjetosSim.UserControls.CircularSegment"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:local="clr-namespace:CtrEditor.ObjetosSim.UserControls" mc:Ignorable="d" Name="circularSegmentControl">
    <Canvas Name="mainCanvas">
        <Path Name="path" Stroke="Black" StrokeThickness="1">
            <Path.Fill>
                <VisualBrush TileMode="Tile" Viewport="0,0,20,20" ViewportUnits="Absolute">
                    <VisualBrush.Transform>
                        <TransformGroup>
                            <TranslateTransform X="0" Y="0" />
                        </TransformGroup>
                    </VisualBrush.Transform>
                    <VisualBrush.Visual>
                        <Canvas Width="20" Height="20">
                            <!-- Patrón de rayas radiales que simulan el movimiento tangencial -->
                            <Rectangle Fill="LightGray" Width="10" Height="10" Canvas.Left="0" Canvas.Top="0" />
                            <Rectangle Fill="GhostWhite" Width="10" Height="10" Canvas.Left="0" Canvas.Top="10" />
                        </Canvas>
                    </VisualBrush.Visual>
                </VisualBrush>
            </Path.Fill>
            <Path.RenderTransform>
                <RotateTransform Angle="{Binding Angle, ElementName=circularSegmentControl}" />
            </Path.RenderTransform>
        </Path>
    </Canvas>
</UserControl>
