GeometryDrawing


GeometryDrawingHierarchy: Freezable Animatable Drawing

     <GeometryDrawing         Brush="Blue"         <GeometryDrawing.Pen>             <Pen Thickness="1" Brush="Black" />         </GeometryDrawing.Pen>         <GeometryDrawing.Geometry>             <GeometryGroup>                 <EllipseGeometry RadiusX="0.2" RadiusY="0.45" Center="0.5,0.5" />                 <EllipseGeometry RadiusX="0.45" RadiusY="0.2" Center="0.5,0.5" />             </GeometryGroup>         </GeometryDrawing.Geometry>       </GeometryDrawing> 

<GeometryDrawing .../> draws a Geometry with the specified Brush and Pen.

Attributes


Brush (optional)

Specifies the Brush used to paint the Geometry.


Pen (optional)

Specifies the Pen used to outline the Geometry.


Geometry (required)

Specifies the Geometry to be drawn. This attribute may be a single Geometry or a GeometryGroup.




XAML in a Nutshell
XAML in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596526733
EAN: 2147483647
Year: 2007
Pages: 217

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net