Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 655 Bytes

File metadata and controls

28 lines (15 loc) · 655 Bytes

document.setStrokeSize()

Availability

Flash MX 2004.

Usage

document.setStrokeSize(size)

Parameters

size A floating-point value from 0.25 to 250that specifies the stroke size. The method ignores precision greater than two decimal places.

Returns

Nothing.

Description

Method; changes the stroke size of the selection to the specified size. For information on changing the stroke in the Tools panel and Property inspector, see document.setCustomStroke().

Example

The following example changes the stroke size for the selection to 5: fl.getDocumentDOM().setStrokeSize(5);