Package | spark.utils |
Class | public class BitmapUtil |
Inheritance | BitmapUtil Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
[static]
Creates a BitmapData representation of the target object. | BitmapUtil | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Method Detail
getSnapshot | () | method |
public static function getSnapshot(target:IUIComponent):BitmapData
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Creates a BitmapData representation of the target object.
Parameters
target:IUIComponent — The object to capture in the resulting BitmapData
|
BitmapData — A BitmapData object containing the image.
|
Throws
SecurityError — The target object and all of its child
objects do not come from the same domain as the caller,
or are not in a content that is accessible to the caller by having called the
Security.allowDomain() method.
|
Fri Mar 19 2010, 02:45 AM -07:00