Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 857 Bytes

rectanglegeometry.md

File metadata and controls

33 lines (20 loc) · 857 Bytes
-api-id -api-type
T:Windows.UI.Xaml.Media.RectangleGeometry
winrt class

Windows.UI.Xaml.Media.RectangleGeometry

-description

Describes a two-dimensional rectangular geometry.

-xaml-syntax

<RectangleGeometry .../>

-remarks

-examples

This example shows how to create and render a RectangleGeometry object. The position and dimensions of the rectangle are defined by a Rect property value, provided as an attribute. The position is (50,50) and the height and width are both 25, which creates a square.

[!code-xamlGeometryOvw3]

-see-also

Geometry