This article is the first in a series describing the built-in support in Silverlight 5 for graphics. This article will introduce the Ellipse element.
Silverlight 5 provides graphics capabilities which you can use to enrich your applications and make them more attractive. While graphics support in Silverlight is not as comprehensive as in WPF, it is still useful in many scenarios. This article describes the built-in support in Silverlight 5 for graphics. This article will not go into XNA or gaming related graphics. Graphics can generally be categorized as two-dimensional (2-D) and 3-D. Shape and Geometry classes enable you to render 2-D objects. The Shape class acts as a base class for shape elements, such as Ellipse, Rectangle, Polygon, and Polyline. Its hierarchy is shown below in Figure 1.Figure 1As you can see, Shape derives from FrameworkElement which in turn derives from UIElement. Shapes can be used inside Canvas, panels and most other controls. Shape elements have many properties in common. A few of these properties are:
Silverlight 2 Web Services