<!--Ship shape as a background--> <DrawingBrush x:Key="ShipShapeBackgroundBrush" > <DrawingBrush.Drawing> <DrawingGroup> <GeometryDrawing Brush="#D8D8D8"> <GeometryDrawing.Geometry> <RectangleGeometry Rect="0,0,50,85" /> </GeometryDrawing.Geometry> </GeometryDrawing> <DrawingGroup.ClipGeometry> <EllipseGeometry Center="25,50" RadiusX="22" RadiusY="50" /> </DrawingGroup.ClipGeometry> </DrawingGroup> </DrawingBrush.Drawing> </DrawingBrush> </UserControl.Resources>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)