Paquete | spark.utils |
Clase | public class BitmapUtil |
Herencia | BitmapUtil Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Propiedades públicas
Métodos públicos
Método | Definido por | ||
---|---|---|---|
getSnapshot(target:IUIComponent, visibleBounds:Rectangle = null, propagateColorTransform:Boolean = false):BitmapData [estática]
Creates a BitmapData representation of the target object. | BitmapUtil | ||
getSnapshotWithPadding(target:IUIComponent, padding:int = 4, propagateColorTransform:Boolean = false, bounds:Rectangle = null):BitmapData [estática]
Creates a BitmapData representation of the target object. | BitmapUtil | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | Object | ||
Devuelve el valor simple del objeto especificado. | Object |
Información sobre métodos
getSnapshot | () | método |
public static function getSnapshot(target:IUIComponent, visibleBounds:Rectangle = null, propagateColorTransform:Boolean = false):BitmapData
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Creates a BitmapData representation of the target object.
Parámetros
target:IUIComponent — The object to capture in the resulting BitmapData
| |
visibleBounds:Rectangle (default = null ) — If non-null, this Rectangle will be populated with
the visible bounds of the object, relative to the object itself.
| |
propagateColorTransform:Boolean (default = false ) — If true, the target's color transform will
be applied to the bitmap capture operation.
|
BitmapData — A BitmapData object containing the image.
|
Emite
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.
|
getSnapshotWithPadding | () | método |
public static function getSnapshotWithPadding(target:IUIComponent, padding:int = 4, propagateColorTransform:Boolean = false, bounds:Rectangle = null):BitmapData
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 4 |
Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Creates a BitmapData representation of the target object.
Parámetros
target:IUIComponent — The object to capture in the resulting BitmapData
| |
padding:int (default = 4 ) — Padding, in pixels, around to target to be included in the bitmap.
| |
propagateColorTransform:Boolean (default = false ) — If true, the target's color transform will
be applied to the bitmap capture operation.
| |
bounds:Rectangle (default = null ) — If non-null, this Rectangle will be populated with
the visible bounds of the object, relative to the object itself.
|
BitmapData — A BitmapData object containing the image.
|
Emite
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.
|
Tue Jun 12 2018, 02:12 PM Z