Canvas.setStrokeStyle

Syntax

setStrokeStyle(style: PP.Brush | Object | String, bounds_left: PP.Rect | Number, top: Number, width: Number, height: Number);

Parameters

style. A brush, its settings object, gradient object or color string view.

bounds_left. Rectangle with brush gradient size or its left border. Optional parameter.

top. Top gradient border. Optional parameter.

width. Gradient width. Optional parameter.

height. Gradient height. Optional parameter.

Description

The setStrokeStyle method sets canvas element border style.

Example

The example of method use is given on the Example of Creating the Canvas Component page.

See also:

Canvas