RectangleGeometry


RectangleGeometryHierarchy: Freezable Animatable Geometry

Type: Simple Geometry

     <RectangleGeometry         Rect="50,50 100 50"         RadiusX="20"         RadiusY="20" /> 

<RectangleGeometry .../> represents the geometry of a rectangle. Figure 9-17 shows the result of evaluating the RectangleGeometry declared above in XamlPad.

Figure 9-17. RectangleGeometry


Attributes


RadiusX (optional)

Describes the x-radius of an ellipse that rounds the corners of the Rectangle described by the Rect attribute


RadiusY (optional)

Describes the y-radius of an ellipse that rounds the corners of the Rectangle described by the Rect attribute


Rect (required)

Describes the dimensions of the rectangle in terms of top-left corner, width, and height




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

Similar book on Amazon

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