Linestyle (Movieclip.linestyle Method) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

This code draws the following image (the image is scaled by 50%):
See also
beginGradientFill (MovieClip.beginGradientFill method)
(MovieClip.lineStyle method)
(MovieClip.moveTo method)

lineStyle (MovieClip.lineStyle method)

public lineStyle(thickness:Number, rgb:Number, alpha:Number,
pixelHinting:Boolean, noScale:String, capsStyle:String,
jointStyle:String, miterLimit:Number) : Void
Specifies a line style that Flash uses for subsequent calls to the
methods until you call the
in the middle of drawing a path to specify different styles for different line
lineStyle()
segments within a path.
Calls to
clear()
You can extend the methods and event handlers of the MovieClip class by creating a subclass.
Availability: ActionScript 1.0; Flash Player 6 - Additional parameters pixelHinting, noScale,
capsStyle, jointStyle, and miterLimit are available in Flash Player 8.
Parameters
- An integer that indicates the thickness of the line in points; valid values
thickness:Number
are 0 to 255. If a number is not specified, or if the parameter is
drawn. If a value of less than 0 is passed, Flash Player uses 0. The value 0 indicates hairline
thickness; the maximum thickness is 255. If a value greater than 255 is passed, the Flash
interpreter uses 255.
,
lineTo (MovieClip.lineTo method)
method with different parameters. You can call
lineStyle()
set the line style back to undefined.
,
lineStyle
,
moveTo
and
lineTo()
curveTo()
, a line is not
undefined
MovieClip
885

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF