| Pakket | mx.graphics |
| Klasse | public class BitmapFill |
| Overerving | BitmapFill EventDispatcher Object |
| Implementatie | IFill |
| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Meer voorbeelden
Verwante API-elementen
| Eigenschap | Gedefinieerd door | ||
|---|---|---|---|
| alpha : Number
The transparency of a fill. | BitmapFill | ||
![]() | constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | 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 Vervangen vanaf 4.0: Gebruik x
How far the bitmap is horizontally offset from the origin. | BitmapFill | ||
| offsetY : Number Vervangen vanaf 4.0: Gebruik y
How far the bitmap is vertically offset from the origin. | BitmapFill | ||
| originX : Number Vervangen vanaf 4.0: Gebruik transformX
The horizontal origin for the bitmap fill. | BitmapFill | ||
| originY : Number Vervangen vanaf 4.0: Gebruik transformY
The vertical origin for the bitmap fill. | BitmapFill | ||
| repeat : Boolean Vervangen vanaf 4.0: Gebruik 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 | ||
| Eigenschap | Gedefinieerd door | ||
|---|---|---|---|
| compoundTransform : mx.geom:CompoundTransform
Holds the matrix and the convenience transform properties (x, y, and rotation). | BitmapFill | ||
| Methode | Gedefinieerd door | ||
|---|---|---|---|
Constructor. | BitmapFill | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registreert een gebeurtenislistenerobject bij een object EventDispatcher, zodat de listener een melding van een gebeurtenis ontvangt. | EventDispatcher | |
![]() |
Verzendt een gebeurtenis naar de gebeurtenisstroom. | EventDispatcher | |
![]() |
Controleert of het object EventDispatcher listeners heeft geregistreerd voor een specifiek type gebeurtenis. | EventDispatcher | |
![]() |
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | |
![]() |
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | |
![]() |
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | |
![]() |
Verwijdert een listener uit het object EventDispatcher. | EventDispatcher | |
![]() |
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | |
![]() |
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | |
![]() |
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | |
![]() |
Retourneert de primitieve waarde van het opgegeven object. | Object | |
![]() |
Controleert of een gebeurtenislistener is geregistreerd bij dit object EventDispatcher of een van de voorouders voor het opgegeven type gebeurtenis. | EventDispatcher | |
alpha | eigenschap |
alpha:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
The transparency of a fill. Possible values are 0.0 (invisible) through 1.0 (opaque).
De standaardwaarde is 1.0..
Implementatie
public function get alpha():Number public function set alpha(value:Number):voidcompoundTransform | eigenschap |
protected var compoundTransform:mx.geom:CompoundTransform| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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 | eigenschap |
fillMode:String| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 4 |
| Runtimeversies: | 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.
De standaardwaarde is BitmapFillMode.SCALE.
Implementatie
public function get fillMode():String public function set fillMode(value:String):voidmatrix | eigenschap |
offsetX | eigenschap |
offsetX:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
How far the bitmap is horizontally offset from the origin. This adjustment is performed after rotation and scaling.
De standaardwaarde is 0.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get offsetX():Number public function set offsetX(value:Number):voidoffsetY | eigenschap |
offsetY:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
How far the bitmap is vertically offset from the origin. This adjustment is performed after rotation and scaling.
De standaardwaarde is 0.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get offsetY():Number public function set offsetY(value:Number):voidoriginX | eigenschap |
originX:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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.
De standaardwaarde is 0.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get originX():Number public function set originX(value:Number):voidoriginY | eigenschap |
originY:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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.
De standaardwaarde is 0.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get originY():Number public function set originY(value:Number):voidrepeat | eigenschap |
repeat:Boolean| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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.
De standaardwaarde is true.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get repeat():Boolean public function set repeat(value:Boolean):voidrotation | eigenschap |
rotation:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
The number of degrees to rotate the bitmap. Valid values range from 0.0 to 360.0.
De standaardwaarde is 0.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get rotation():Number public function set rotation(value:Number):voidscaleX | eigenschap |
scaleX:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get scaleX():Number public function set scaleX(value:Number):voidscaleY | eigenschap |
scaleY:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get scaleY():Number public function set scaleY(value:Number):voidsmooth | eigenschap |
smooth:Boolean| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
A flag indicating whether to smooth the bitmap data when filling with it.
De standaardwaarde is false.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get smooth():Boolean public function set smooth(value:Boolean):voidsource | eigenschap |
source:Object| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | 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.
De standaardwaarde is null.
Implementatie
public function get source():Object public function set source(value:Object):voidtransformX | eigenschap |
transformY | eigenschap |
x | eigenschap |
x:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
The distance by which to translate each point along the x axis.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get x():Number public function set x(value:Number):voidy | eigenschap |
y:Number| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
The distance by which to translate each point along the y axis.
Deze eigenschap kan als de bron voor gegevensbinding worden gebruikt. Wanneer deze eigenschap wordt gewijzigd, wordt de gebeurtenis propertyChange verzonden.
Implementatie
public function get y():Number public function set y(value:Number):voidBitmapFill | () | Constructor |
public function BitmapFill()| Taalversie: | ActionScript 3.0 |
| Productversie: | Flex 3 |
| Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructor.
Wed Jun 13 2018, 11:42 AM Z
Overerfde openbare eigenschappen verbergen
Overerfde openbare eigenschappen weergeven