Ellipse


EllipseHierarchy: UIElement FrameworkElement Shape

Type: Shape

     <Ellipse         Height="50"         Width="100" /> 

<Ellipse .../> is used to draw ellipses and circles on a Canvas. The radii of an ellipse are specified using the Height and Width properties. Using equivalent Height/Width combinations will result in a circle. Figure 9-4 shows an example of an Ellipse with a longer width (x-radius) than height (y-radius).

Figure 9-4. Ellipse





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