Show / Hide Table of Contents

Method Create

| Edit this page View Source

Create(Rect)

Creates a rectangular region.

Declaration
public static Region Create(Rect rect)
Parameters
Type Name Description
Rect rect

Rectangular region.

Returns
Type Description
Region
| Edit this page View Source

Create(Rect, double, double)

Creates a rectangular region with rounded corners.

Declaration
public static Region Create(Rect rect, double w, double h)
Parameters
Type Name Description
Rect rect

Rectangular region.

double w

Specifies the width of the ellipse used to create the rounded corners.

double h

Specifies the height of the ellipse used to create the rounded corners.

Returns
Type Description
Region
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX