| Paquete | mx.graphics |
| Clase | public class BitmapFill |
| Herencia | BitmapFill EventDispatcher Object |
| Implementa | IFill |
| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Más ejemplos
Elementos de API relacionados
| Propiedad | Definido por | ||
|---|---|---|---|
| alpha : Number
The transparency of a fill. | BitmapFill | ||
![]() | constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | |
| fillMode : String
Determines how the bitmap fills in the dimensions. | BitmapFill | ||
| matrix : Matrix
An array of values used for matrix transformation. | BitmapFill | ||
| offsetX : Number Desfasado desde 4.0: Utilice x
How far the bitmap is horizontally offset from the origin. | BitmapFill | ||
| offsetY : Number Desfasado desde 4.0: Utilice y
How far the bitmap is vertically offset from the origin. | BitmapFill | ||
| originX : Number Desfasado desde 4.0: Utilice transformX
The horizontal origin for the bitmap fill. | BitmapFill | ||
| originY : Number Desfasado desde 4.0: Utilice transformY
The vertical origin for the bitmap fill. | BitmapFill | ||
| repeat : Boolean Desfasado desde 4.0: Utilice fillMode
Whether the bitmap is repeated to fill the area. | BitmapFill | ||
| rotation : Number
The number of degrees to rotate the bitmap. | BitmapFill | ||
| scaleX : Number
The percent to horizontally scale the bitmap when filling,
from 0.0 to 1.0. | BitmapFill | ||
| scaleY : Number
The percent to vertically scale the bitmap when filling,
from 0.0 to 1.0. | BitmapFill | ||
| smooth : Boolean
A flag indicating whether to smooth the bitmap data
when filling with it. | BitmapFill | ||
| source : Object
The source used for the bitmap fill. | BitmapFill | ||
| transformX : Number
The x position transform point of the fill. | BitmapFill | ||
| transformY : Number
The y position transform point of the fill. | BitmapFill | ||
| x : Number
The distance by which to translate each point along the x axis. | BitmapFill | ||
| y : Number
The distance by which to translate each point along the y axis. | BitmapFill | ||
| Propiedad | Definido por | ||
|---|---|---|---|
| compoundTransform : mx.geom:CompoundTransform
Holds the matrix and the convenience transform properties (x, y, and rotation). | BitmapFill | ||
| Método | Definido por | ||
|---|---|---|---|
Constructor. | BitmapFill | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un objeto de detector de eventos con un objeto EventDispatcher, de modo que el detector reciba la notificación de un evento. | EventDispatcher | |
![]() |
Distribuye un evento en el flujo del evento. | EventDispatcher | |
![]() |
Comprueba si el objeto EventDispatcher tiene detectores registrados para un tipo concreto de evento. | EventDispatcher | |
![]() |
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 | |
![]() |
Elimina un detector del objeto EventDispatcher. | EventDispatcher | |
![]() |
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 | |
![]() |
Comprueba si hay registrado un detector de eventos con este objeto EventDispatcher o con cualquiera de sus ascendientes para el tipo de evento concreto. | EventDispatcher | |
alpha | propiedad |
alpha:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The transparency of a fill. Possible values are 0.0 (invisible) through 1.0 (opaque).
El valor predeterminado es 1.0..
Implementación
public function get alpha():Number public function set alpha(value:Number):voidcompoundTransform | propiedad |
protected var compoundTransform:mx.geom:CompoundTransform| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Holds the matrix and the convenience transform properties (x, y, and rotation).
The compoundTransform is only created when the matrix property is set.
fillMode | propiedad |
fillMode:String| 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 |
Determines how the bitmap fills in the dimensions. If you set the value
of this property in a tag, use the string (such as "repeat"). If you set the value of
this property in ActionScript, use the constant (such as BitmapFillMode.CLIP).
When set to BitmapFillMode.CLIP ("clip"), the bitmap
ends at the edge of the region.
When set to BitmapFillMode.REPEAT ("repeat"), the bitmap
repeats to fill the region.
When set to BitmapFillMode.SCALE ("scale"), the bitmap
stretches to fill the region.
El valor predeterminado es BitmapFillMode.SCALE.
Implementación
public function get fillMode():String public function set fillMode(value:String):voidmatrix | propiedad |
offsetX | propiedad |
offsetX:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
How far the bitmap is horizontally offset from the origin. This adjustment is performed after rotation and scaling.
El valor predeterminado es 0.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get offsetX():Number public function set offsetX(value:Number):voidoffsetY | propiedad |
offsetY:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
How far the bitmap is vertically offset from the origin. This adjustment is performed after rotation and scaling.
El valor predeterminado es 0.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get offsetY():Number public function set offsetY(value:Number):voidoriginX | propiedad |
originX:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The horizontal origin for the bitmap fill. The bitmap fill is offset so that this point appears at the origin. Scaling and rotation of the bitmap are performed around this point.
El valor predeterminado es 0.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get originX():Number public function set originX(value:Number):voidoriginY | propiedad |
originY:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The vertical origin for the bitmap fill. The bitmap fill is offset so that this point appears at the origin. Scaling and rotation of the bitmap are performed around this point.
El valor predeterminado es 0.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get originY():Number public function set originY(value:Number):voidrepeat | propiedad |
repeat:Boolean| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Whether the bitmap is repeated to fill the area.
Set to true to cause the fill to tile outward
to the edges of the filled region.
Set to false to end the fill at the edge of the region.
El valor predeterminado es true.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get repeat():Boolean public function set repeat(value:Boolean):voidrotation | propiedad |
rotation:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The number of degrees to rotate the bitmap. Valid values range from 0.0 to 360.0.
El valor predeterminado es 0.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get rotation():Number public function set rotation(value:Number):voidscaleX | propiedad |
scaleX:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The percent to horizontally scale the bitmap when filling, from 0.0 to 1.0. If 1.0, the bitmap is filled at its natural size.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get scaleX():Number public function set scaleX(value:Number):voidscaleY | propiedad |
scaleY:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The percent to vertically scale the bitmap when filling, from 0.0 to 1.0. If 1.0, the bitmap is filled at its natural size.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get scaleY():Number public function set scaleY(value:Number):voidsmooth | propiedad |
smooth:Boolean| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
A flag indicating whether to smooth the bitmap data when filling with it.
El valor predeterminado es false.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get smooth():Boolean public function set smooth(value:Boolean):voidsource | propiedad |
source:Object| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The source used for the bitmap fill. The fill can render from various graphical sources, including the following:
- A Bitmap or BitmapData instance.
- A class representing a subclass of DisplayObject. The BitmapFill instantiates the class and creates a bitmap rendering of it.
- An instance of a DisplayObject. The BitmapFill copies it into a Bitmap for filling.
El valor predeterminado es null.
Implementación
public function get source():Object public function set source(value:Object):voidtransformX | propiedad |
transformY | propiedad |
x | propiedad |
x:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The distance by which to translate each point along the x axis.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get x():Number public function set x(value:Number):voidy | propiedad |
y:Number| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The distance by which to translate each point along the y axis.
Esta propiedad se puede utilizar como origen para la vinculación de datos. Cuando se modifica esta propiedad, distribuye el evento propertyChange .
Implementación
public function get y():Number public function set y(value:Number):voidBitmapFill | () | Información sobre |
public function BitmapFill()| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | Flex 3 |
| Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Constructor.
Tue Jun 12 2018, 02:12 PM Z
Ocultar propiedades públicas heredadas
Mostrar propiedades públicas heredadas