294
ActionScript classes
draw
(source:Object,
[matrix:Matrix],
[colorTransform:Colo
rTransform],
[blendMode:Object],
[clipRect:Rectangle]
, [smooth:Boolean])
: Void
Draws a source image or movie clip onto a destination
image, using the Flash Player vector renderer.
fillRect
(rect:Rectan
gle, color:Number) :
Void
Fills a rectangular area of pixels with a specified
ARGB color.
floodFill
(x:Number,
y:Number,
color:Number) : Void
Performs a flood fill operation on an image starting at
an (
x
,
y
) coordinate and filling with a certain color.
generateFilterRect
(s
ourceRect:Rectangle,
filter:BitmapFilter)
: Rectangle
Determines the destination rectangle that the
applyFilter()
method call affects, given a
BitmapData object, a source rectangle, and a filter
object.
getColorBoundsRect
(m
ask:Number,
color:Number,
[findColor:Boolean])
: Rectangle
Determines a rectangular region that fully encloses all
pixels of a specified color within the bitmap image.
getPixel
(x:Number,
y:Number) : Number
Returns an integer that reresents an RGB pixel value
from a BitmapData object at a specific point (
x
,
y
).
getPixel32
(x:Number,
y:Number) : Number
Returns an ARGB color value that contains alpha
channel data and RGB data.
hitTest
(firstPoint:P
oint,
firstAlphaThreshold:
Number,
secondObject:Object,
[secondBitmapPoint:P
oint],
[secondAlphaThreshol
d:Number]) : Boolean
Performs pixel-level hit detection between one bitmap
image and a point, rectangle or other bitmap image.
static
loadBitmap
(id:String
) : BitmapData
Returns a new BitmapData object that contains a
bitmap image representation of the symbol that is
identified by a specified linkage ID in the library.
Modifiers
Signature
Description
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...