Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 791 Bytes

File metadata and controls

30 lines (20 loc) · 791 Bytes

stroke.space

Availability

Flash MX 2004.

Usage

stroke.space

Description

Property; a string that specifies the spacing of a hatched line. This property is available only if the stroke.style property is set to hatched (see stroke.style). Acceptable values are "very close", "close", "distant", and "very distant".

Example

The following example sets the space property to close for a stroke style of hatched:

var myStroke = fl.getDocumentDOM().getCustomStroke();
myStroke.style = "hatched";
myStroke.curve = "straight"; 
myStroke.space = "close"; 
myStroke.jiggle = "wild"; 
myStroke.rotate = "free"; 
myStroke.length = "slight"; 
myStroke.hatchThickness = "thin";
fl.getDocumentDOM().setCustomStroke(myStroke);