Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 717 Bytes

File metadata and controls

24 lines (17 loc) · 717 Bytes

stroke.dotSize

Availability

Flash MX 2004.

Usage

stroke.dotSize

Description

Property; a string that specifies the dot size of a stippled line. This property is available only if the stroke.style property is set to stipple (see stroke.style). Acceptable values are "tiny", "small", "medium", and "large".

The following example sets the dotSize property to tiny for the stroke style of stipple:

var myStroke = fl.getDocumentDOM().getCustomStroke(); 
myStroke.style = "stipple";
myStroke.dotSpace= 3; 
myStroke.dotsize = "tiny"; 
myStroke.variation = "random sizes"; 
myStroke.density = "sparse";
fl.getDocumentDOM().setCustomStroke(myStroke);