TMChamber.xaml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <UserControl x:Class="Venus_Themes.UserControls.TMChamber"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:Venus_Themes.UserControls"
  7. mc:Ignorable="d"
  8. d:DesignHeight="450" d:DesignWidth="800" Name="tmChamber">
  9. <Viewbox Stretch="Fill">
  10. <Viewbox.RenderTransform>
  11. <TransformGroup>
  12. <RotateTransform Angle="{Binding ElementName=tmChamber,Path=RotateTransformValue}"/>
  13. </TransformGroup>
  14. </Viewbox.RenderTransform>
  15. <Border BorderThickness="10" BorderBrush="Silver">
  16. <Canvas Width="200" Height="200">
  17. <Polygon Stroke="Black" StrokeThickness="2" Points="00,200 0,0 200,0 200,200">
  18. <Polygon.Fill>
  19. <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
  20. <GradientStop Color="Silver" Offset="0.0" />
  21. <GradientStop Color="White" Offset="0.5" />
  22. <GradientStop Color="Silver" Offset="1" />
  23. </LinearGradientBrush>
  24. </Polygon.Fill>
  25. </Polygon>
  26. <Path Stroke="Black" Canvas.Left="-20" >
  27. <!--<Path.Stroke>
  28. <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
  29. <GradientStop Color="Silver" Offset="0.0" />
  30. <GradientStop Color="White" Offset="0.5" />
  31. <GradientStop Color="Silver" Offset="1" />
  32. </LinearGradientBrush>-->
  33. <!--</Path.Stroke>-->
  34. <Path.Data>
  35. <GeometryGroup>
  36. <PathGeometry Figures="M 200,100 A 80,80 1 1 1 200,99.9"/>
  37. <PathGeometry Figures="M 190,100 A 70,70 1 1 1 190,99.9" />
  38. <PathGeometry Figures="M 180,100 A 60,60 1 1 1 180,99.9" />
  39. <PathGeometry Figures="M 170,100 A 50,50 1 1 1 170,99.9" />
  40. <PathGeometry Figures="M 160,100 A 40,40 1 1 1 160,99.9" />
  41. </GeometryGroup>
  42. </Path.Data>
  43. </Path>
  44. </Canvas>
  45. </Border>
  46. </Viewbox>
  47. </UserControl>