Stroke Object - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

Stroke object

Availability
Flash MX 2004.
Description
The Stroke object contains all the settings for a stroke, including the custom settings. This object
represents the information contained in the Stroke Properties inspector. Using the Stroke object
together with the
the toolbar, the Properties Inspector, and the current selection. You can also get the stroke settings
of the toolbar and Properties Inspector, or of the current selection, by using the
document.getCustomStroke()
This object always has the following four properties:
breakAtCorners
Property summary for the Stroke object
The following properties are available for the Stroke object:
Property
stroke.breakAtCorners
stroke.color
stroke.curve
stroke.dash1
stroke.dash2
stroke.density
stroke.dotSize
stroke.dotSpace
stroke.hatchThickness
stroke.jiggle
stroke.length
stroke.pattern
stroke.rotate
stroke.space
stroke.style
stroke.thickness
stroke.variation
274
Chapter 3: Objects
document.setCustomStroke()
method.
. Other properties can be set, depending on the value of the
Description
Same as the Sharp Corners setting in the custom Stroke Style dialog box.
A color string in hexadecimal (#rrggbb) format or an integer containing the
value.
A string that specifies type of hatching for the stroke.
An integer that specifies the lengths of the solid part of a dashed line.
An integer that specifies the lengths of the blank part of a dashed line.
A string that specifies the density of a stippled line.
A string that specifies the dot size of a stippled line.
An integer that specifies the spacing between dots in a dotted line.
A string that specifies the thickness of a hatch line.
A string that specifies the jiggle property of a hatched line.
A string that specifies the length of a hatch line.
A string that specifies the pattern of a ragged line.
A string that specifies the rotation of a hatch line.
A string that specifies the spacing of a hatched line.
A string that describes the stroke style.
An integer that specifies the stroke size.
A string that specifies the variation of a stippled line.
method, you can change the stroke settings for
,
,
style
thickness
CHAPTER 3
Objects
, and
color
property.
style

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents