WindowOverlayRectangleOptions.SetCornerRadius(Variable, Variable) Method

Top 

Description

Allows you to draw a rounded rectangle by specifying a corner radius.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

 

Method Signature

WindowOverlayRectangleOptions.SetCornerRadius(

Variable units,


Variable radius)

 

Arguments

units


Description:

Determines if the corner radius is in units of relative window size or in units of pixels.

Valid Values:

Value

Label

0

Relative

1

Pixels

 

radius


Description:

Radius of each corner of the Rectangle in the specified units

Valid Range:

radius ≥ 0

 

 

Syntax

myWindowOverlayRectangleOptions1.SetCornerRadius(myVariable1, myVariable2);

 

See also

WindowOverlayRectangleOptions Object