Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.29 KB

ellipse.md

File metadata and controls

43 lines (30 loc) · 1.29 KB
-api-id -api-type
T:Windows.UI.Xaml.Shapes.Ellipse
winrt class

Windows.UI.Xaml.Shapes.Ellipse

-description

Draws an ellipse with a given Height and Width specified in device-independent pixel (DIP).

-xaml-syntax

<Ellipse .../>

-remarks

You can set the Fill property to give the shape a background fill, like a solid color, gradient, or image. You can set the Stroke and other related stroke properties to specify the look of the shape's outline.

-examples

This example shows how to create an Ellipse in XAML and set some of its common properties as attribute values.

    <StackPanel>
        <Ellipse
         Fill="Yellow"
         Height="100"
         Width="200"
         StrokeThickness="2"
         Stroke="Black"/>
    </StackPanel>

-see-also

Shape, XAML vector-based drawing sample, Draw shapes