Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fler exempel
Egenskap | Definieras med | ||
---|---|---|---|
accessibilityProperties : AccessibilityProperties
De nuvarande hjälpmedelsalternativen för det här visningsobjektet. | DisplayObject | ||
alpha : Number
Anger det angivna objektets alfagenomskinlighetsvärde. | DisplayObject | ||
blendMode : String
Ett värde från klassen BlendMode som anger vilket blandningsläge som ska användas. | DisplayObject | ||
blendShader : Shader [lässkyddad]
Ställer in en skuggning som används för blandning av förgrund och bakgrund. | DisplayObject | ||
cacheAsBitmap : Boolean
Om det är true, sparar Flash-miljöerna en intern bitmappsrepresentation av visningsobjektet i cache-minnet. | DisplayObject | ||
cacheAsBitmapMatrix : Matrix
Om detta inte är null definierar det här Matrix-objektet hur ett visningsobjekt återges när cacheAsBitmap har värdet true. | DisplayObject | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
filters : Array
En indexerad array som innehåller varje filterobjekt som är associerat med visningsobjektet. | DisplayObject | ||
graphics : Graphics [skrivskyddad]
Anger det Graphics-objekt som tillhör Shape-objektet, där kommandon för vektorritning kan göras. | Shape | ||
height : Number
Anger visningsobjektets höjd i pixlar. | DisplayObject | ||
initialized : Boolean
A flag that determines if an object has been through all three phases
of layout: commitment, measurement, and layout (provided that any were required). | ProgrammaticSkin | ||
loaderInfo : LoaderInfo [skrivskyddad]
Returnerar ett LoaderInfo-objekt som innehåller information om hur filen som visningsobjektet tillhör ska läsas in. | DisplayObject | ||
mask : DisplayObject
Det anropande visningsobjektet maskeras av det angivna visningsobjektet. | DisplayObject | ||
measuredHeight : Number [skrivskyddad]
The measured height of this object. | ProgrammaticSkin | ||
measuredWidth : Number [skrivskyddad]
The measured width of this object. | ProgrammaticSkin | ||
metaData : Object
Erhåller metadataobjektet för instansen DisplayObject om metadata har lagrats tillsammans med instansen för detta DisplayObject i SWF-filen via en PlaceObject4-tagg. | DisplayObject | ||
mouseX : Number [skrivskyddad]
Anger x-koordinaten för musens eller användarens indataenhets position i pixlar. | DisplayObject | ||
mouseY : Number [skrivskyddad]
Anger y-koordinaten för musens eller användarens indataenhets position i pixlar. | DisplayObject | ||
name : String
Anger instansnamnet för DisplayObject. | DisplayObject | ||
nestLevel : int
Depth of this object in the containment hierarchy. | ProgrammaticSkin | ||
opaqueBackground : Object
Anger om visningsobjektet är ogenomskinligt med en viss bakgrundsfärg. | DisplayObject | ||
parent : DisplayObjectContainer [skrivskyddad]
Anger DisplayObjectContainer-objektet som innehåller visningsobjektet. | DisplayObject | ||
processedDescriptors : Boolean
Set to true after immediate or deferred child creation,
depending on which one happens. | ProgrammaticSkin | ||
root : DisplayObject [skrivskyddad]
För ett visningsobjekt i en inläst SWF-fil är rotegenskapen det översta visningsobjektet i den del av visningslistans trädstruktur som representeras av den SWF-filen. | DisplayObject | ||
rotation : Number
Anger DisplayObject-instansens rotation i grader från den ursprungliga orienteringen. | DisplayObject | ||
rotationX : Number
Anger x-axelsrotationen i grader för DisplayObject-instansen, från den ursprungliga orienteringen i förhållande till den överordnade 3D-behållaren. | DisplayObject | ||
rotationY : Number
Anger y-axelsrotationen i grader för DisplayObject-instansen, från den ursprungliga orienteringen i förhållande till den överordnade 3D-behållaren. | DisplayObject | ||
rotationZ : Number
Anger z-axelsrotationen i grader för DisplayObject-instansen, från den ursprungliga orienteringen i förhållande till den överordnade 3D-behållaren. | DisplayObject | ||
scale9Grid : Rectangle
Det skalningsrutnät som används för närvarande. | DisplayObject | ||
scaleX : Number
Anger vågrät skala (i procent) för objektet utifrån dess registreringspunkt. | DisplayObject | ||
scaleY : Number
Anger lodrät skala (i procent) för objektet utifrån dess registreringspunkt. | DisplayObject | ||
scaleZ : Number
Anger djupskala (procent) för objektet utifrån dess registreringspunkt. | DisplayObject | ||
scrollRect : Rectangle
Visningsobjektets gränser för rullningsrektangeln. | DisplayObject | ||
stage : Stage [skrivskyddad]
Visningsobjektets scen. | DisplayObject | ||
styleName : Object
A parent component used to obtain style values. | ProgrammaticSkin | ||
transform : flash.geom:Transform
Ett objekt med egenskaper som gäller ett visningsobjekts matris, färgomformning och pixelgränser. | DisplayObject | ||
updateCompletePendingFlag : Boolean
A flag that determines if an object has been through all three phases
of layout validation (provided that any were required). | ProgrammaticSkin | ||
visible : Boolean
Om visingsobjektet är synligt eller inte. | DisplayObject | ||
width : Number
Anger visningsobjektets bredd i pixlar. | DisplayObject | ||
x : Number
Anger x-koordinaten för DisplayObject-instansen i förhållande till de lokala koordinaterna för den överordnade DisplayObjectContainer. | DisplayObject | ||
y : Number
Anger y-koordinaten för DisplayObject-instansen i förhållande till de lokala koordinaterna för den överordnade DisplayObjectContainer. | DisplayObject | ||
z : Number
Anger z-koordinatens position längs DisplayObject-instansens z-axel i förhållande till den överordnade 3D-behållaren. | DisplayObject |
Metod | Definieras med | ||
---|---|---|---|
Constructor. | ProgrammaticSkin | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Returnerar en rektangel som definierar visningsområdets område i relation till targetCoordinateSpace-objektets koordinatsystem. | DisplayObject | ||
Returnerar en rektangel som definierar visningsområdets gräns, baserat på koordinatsystemet som definieras av targetCoordinateSpace-parametern, exklusive eventuella linjer i former. | DisplayObject | ||
Returns the value of the specified style property. | ProgrammaticSkin | ||
Konverterar punktobjektet från scenens (globala) koordinater till visningsobjektets (lokala) koordinater. | DisplayObject | ||
Konverterar en tvådimensionell punkt från scenens (globala) koordinater till ett tredimensionellt visningsobjekts (lokala) koordinater. | DisplayObject | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Utvärderar begränsningsramen för visningsobjektet för att kontrollera om den överlappar eller korsar begränsningsramen för obj-visningsobjektet. | DisplayObject | ||
Utvärderar visningsobjektet för att avgöra om det överlappar eller korsar den punkt som anges av x- och y-parametrarna. | DisplayObject | ||
Marks a component so that its updateDisplayList()
method gets called during a later screen update. | ProgrammaticSkin | ||
Calling this method results in a call to the component's
validateProperties() method
before the display list is rendered. | ProgrammaticSkin | ||
Calling this method results in a call to the component's
validateSize() method
before the display list is rendered. | ProgrammaticSkin | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Konverterar en tredimensionell punkt för det tredimensionella visningsobjektets (lokala) koordinater till en tvådimensionell punkt i scenens (globala) koordinater. | DisplayObject | ||
Konverterar punktobjektet från visningsobjektets (lokala) koordinater till scenens (globala) koordinater. | DisplayObject | ||
Moves this object to the specified x and y coordinates. | ProgrammaticSkin | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Sets the height and width of this object. | ProgrammaticSkin | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Whenever any style changes, redraw this skin. | ProgrammaticSkin | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
[åsidosätt]
Returns a string indicating the location of this object
within the hierarchy of DisplayObjects in the Application. | FlexShape | ||
This function is called by the LayoutManager
when it's time for this control to draw itself. | ProgrammaticSkin | ||
Validate and update the properties and layout of this object
and redraw it, if necessary. | ProgrammaticSkin | ||
This function is an empty stub so that ProgrammaticSkin
can implement the ILayoutManagerClient interface. | ProgrammaticSkin | ||
This function is an empty stub so that ProgrammaticSkin
can implement the ILayoutManagerClient interface. | ProgrammaticSkin | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Metod | Definieras med | ||
---|---|---|---|
drawRoundRect(x:Number, y:Number, width:Number, height:Number, cornerRadius:Object = null, color:Object = null, alpha:Object = null, gradientMatrix:Matrix = null, gradientType:String = "linear", gradientRatios:Array = null, hole:Object = null):void
Programatically draws a rectangle into this skin's Graphics object. | ProgrammaticSkin | ||
Utility function to create a horizontal gradient matrix. | ProgrammaticSkin | ||
Utility function to create a rotated gradient matrix. | ProgrammaticSkin | ||
Programmatically draws the graphics for this skin. | ProgrammaticSkin | ||
Utility function to create a vertical gradient matrix. | ProgrammaticSkin |
initialized | egenskap |
initialized:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A flag that determines if an object has been through all three phases of layout: commitment, measurement, and layout (provided that any were required).
Implementering
public function get initialized():Boolean
public function set initialized(value:Boolean):void
measuredHeight | egenskap |
measuredHeight:Number
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The measured height of this object. This should be overridden by subclasses to return the preferred height for the skin.
Implementering
public function get measuredHeight():Number
measuredWidth | egenskap |
measuredWidth:Number
[skrivskyddad] Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The measured width of this object. This should be overridden by subclasses to return the preferred width for the skin.
Implementering
public function get measuredWidth():Number
nestLevel | egenskap |
nestLevel:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Depth of this object in the containment hierarchy. This number is used by the measurement and layout code. The value is 0 if this component is not on the DisplayList.
Implementering
public function get nestLevel():int
public function set nestLevel(value:int):void
processedDescriptors | egenskap |
processedDescriptors:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Set to true
after immediate or deferred child creation,
depending on which one happens. For a Container object, it is set
to true
at the end of
the createComponentsFromDescriptors()
method,
meaning after the Container object creates its children from its child descriptors.
For example, if an Accordion container uses deferred instantiation,
the processedDescriptors
property for the second pane of
the Accordion container does not become true
until after
the user navigates to that pane and the pane creates its children.
But, if the Accordion had set the creationPolicy
property
to "all"
, the processedDescriptors
property
for its second pane is set to true
during application startup.
For classes that are not containers, which do not have descriptors,
it is set to true
after the createChildren()
method creates any internal component children.
Implementering
public function get processedDescriptors():Boolean
public function set processedDescriptors(value:Boolean):void
styleName | egenskap |
styleName:Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A parent component used to obtain style values. This is typically set to the component that created this skin.
Implementering
public function get styleName():Object
public function set styleName(value:Object):void
updateCompletePendingFlag | egenskap |
updateCompletePendingFlag:Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
A flag that determines if an object has been through all three phases of layout validation (provided that any were required).
Implementering
public function get updateCompletePendingFlag():Boolean
public function set updateCompletePendingFlag(value:Boolean):void
ProgrammaticSkin | () | Konstruktor |
public function ProgrammaticSkin()
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
drawRoundRect | () | metod |
protected function drawRoundRect(x:Number, y:Number, width:Number, height:Number, cornerRadius:Object = null, color:Object = null, alpha:Object = null, gradientMatrix:Matrix = null, gradientType:String = "linear", gradientRatios:Array = null, hole:Object = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Programatically draws a rectangle into this skin's Graphics object.
The rectangle can have rounded corners. Its edges are stroked with the current line style of the Graphics object. It can have a solid color fill, a gradient fill, or no fill. A solid fill can have an alpha transparency. A gradient fill can be linear or radial. You can specify up to 15 colors and alpha values at specified points along the gradient, and you can specify a rotation angle or transformation matrix for the gradient. Finally, the rectangle can have a rounded rectangular hole carved out of it.
This versatile rectangle-drawing routine is used by many skins.
It calls the drawRect()
or
drawRoundRect()
methods (in the flash.display.Graphics class) to draw into this
skin's Graphics object.
Parametrar
x:Number — Horizontal position of upper-left corner
of rectangle within this skin.
| |
y:Number — Vertical position of upper-left corner
of rectangle within this skin.
| |
width:Number — Width of rectangle, in pixels.
| |
height:Number — Height of rectangle, in pixels.
| |
cornerRadius:Object (default = null ) — Corner radius/radii of rectangle.
Can be null , a Number, or an Object.
If it is null , it specifies that the corners should be square
rather than rounded.
If it is a Number, it specifies the same radius, in pixels,
for all four corners.
If it is an Object, it should have properties named
tl , tr , bl , and
br , whose values are Numbers specifying
the radius, in pixels, for the top left, top right,
bottom left, and bottom right corners.
For example, you can pass a plain Object such as
{ tl: 5, tr: 5, bl: 0, br: 0 } .
The default value is null (square corners).
| |
color:Object (default = null ) — The RGB color(s) for the fill.
Can be null , a uint, or an Array.
If it is null , the rectangle not filled.
If it is a uint, it specifies an RGB fill color.
For example, pass 0xFF0000 to fill with red.
If it is an Array, it should contain uints
specifying the gradient colors.
For example, pass [ 0xFF0000, 0xFFFF00, 0x0000FF ]
to fill with a red-to-yellow-to-blue gradient.
You can specify up to 15 colors in the gradient.
The default value is null (no fill).
| |
alpha:Object (default = null ) — Alpha value(s) for the fill.
Can be null, a Number, or an Array.
This argument is ignored if color is null.
If color is a uint specifying an RGB fill color,
then alpha should be a Number specifying
the transparency of the fill, where 0.0 is completely transparent
and 1.0 is completely opaque.
You can also pass null instead of 1.0 in this case
to specify complete opaqueness.
If color is an Array specifying gradient colors,
then alpha should be an Array of Numbers, of the
same length, that specifies the corresponding alpha values
for the gradient.
In this case, the default value is null (completely opaque).
| |
gradientMatrix:Matrix (default = null ) — Matrix object used for the gradient fill.
The utility methods horizontalGradientMatrix() ,
verticalGradientMatrix() , and
rotatedGradientMatrix() can be used to create the value for
this parameter.
| |
gradientType:String (default = "linear ") — Type of gradient fill. The possible values are
GradientType.LINEAR or GradientType.RADIAL .
(The GradientType class is in the package flash.display.)
| |
gradientRatios:Array (default = null ) — (optional default [0,255])
Specifies the distribution of colors. The number of entries must match
the number of colors defined in the color parameter.
Each value defines the percentage of the width where the color is
sampled at 100%. The value 0 represents the left-hand position in
the gradient box, and 255 represents the right-hand position in the
gradient box.
| |
hole:Object (default = null ) — (optional) A rounded rectangular hole
that should be carved out of the middle
of the otherwise solid rounded rectangle
{ x: #, y: #, w: #, h: #, r: # or { br: #, bl: #, tl: #, tr: # } }
|
Relaterade API-element
getStyle | () | metod |
public function getStyle(styleProp:String):*
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Returns the value of the specified style property.
Parametrar
styleProp:String — Name of the style property.
|
* — The style value. This can be any type of object that style properties can be, such as
int, Number, String, etc.
|
horizontalGradientMatrix | () | metod |
protected function horizontalGradientMatrix(x:Number, y:Number, width:Number, height:Number):Matrix
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Utility function to create a horizontal gradient matrix.
Parametrar
x:Number — The left edge of the gradient.
| |
y:Number — The top edge of the gradient.
| |
width:Number — The width of the gradient.
| |
height:Number — The height of the gradient.
|
Matrix — The horizontal gradient matrix. This is a temporary
object that should only be used for a single subsequent call
to the drawRoundRect() method.
|
invalidateDisplayList | () | metod |
public function invalidateDisplayList():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Marks a component so that its updateDisplayList()
method gets called during a later screen update.
Invalidation is a useful mechanism for eliminating duplicate work by delaying processing of changes to a component until a later screen update. For example, if you want to change the width and height, it would be wasteful to update the component immediately after you change the width and then update again with the new height. It is more efficient to change both properties and then render the component with its new size once.
Invalidation methods rarely get called. In general, setting a property on a component automatically calls the appropriate invalidation method.
invalidateProperties | () | metod |
public function invalidateProperties():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Calling this method results in a call to the component's
validateProperties()
method
before the display list is rendered.
For components that extend UIComponent, this implies
that commitProperties()
is called.
invalidateSize | () | metod |
public function invalidateSize():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Calling this method results in a call to the component's
validateSize()
method
before the display list is rendered.
For components that extend UIComponent, this implies
that measure()
is called, unless the component
has both explicitWidth
and explicitHeight
set.
move | () | metod |
public function move(x:Number, y:Number):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Moves this object to the specified x and y coordinates.
Parametrar
x:Number — The horizontal position, in pixels.
| |
y:Number — The vertical position, in pixels.
|
rotatedGradientMatrix | () | metod |
protected function rotatedGradientMatrix(x:Number, y:Number, width:Number, height:Number, rotation:Number):Matrix
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Utility function to create a rotated gradient matrix.
Parametrar
x:Number — The left edge of the gradient.
| |
y:Number — The top edge of the gradient.
| |
width:Number — The width of the gradient.
| |
height:Number — The height of the gradient.
| |
rotation:Number — The amount to rotate, in degrees.
|
Matrix — The horizontal gradient matrix. This is a temporary
object that should only be used for a single subsequent call
to the drawRoundRect() method.
|
setActualSize | () | metod |
public function setActualSize(newWidth:Number, newHeight:Number):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Sets the height and width of this object.
Parametrar
newWidth:Number — The width, in pixels, of this object.
| |
newHeight:Number — The height, in pixels, of this object.
|
styleChanged | () | metod |
public function styleChanged(styleProp:String):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Whenever any style changes, redraw this skin. Subclasses can override this method and perform a more specific test before calling invalidateDisplayList().
Parametrar
styleProp:String — The name of the style property that changed, or null
if all styles have changed.
|
updateDisplayList | () | metod |
protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Programmatically draws the graphics for this skin.
Subclasses should override this method and include calls
to methods such as graphics.moveTo()
and
graphics.lineTo()
.
This occurs before any scaling from sources such as user code or zoom effects. The component is unaware of the scaling that takes place later.
Parametrar
unscaledWidth:Number — The width, in pixels, of this object before any scaling.
| |
unscaledHeight:Number — The height, in pixels, of this object before any scaling.
|
Fler exempel
validateDisplayList | () | metod |
public function validateDisplayList():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
This function is called by the LayoutManager
when it's time for this control to draw itself.
The actual drawing happens in the updateDisplayList
function, which is called by this function.
validateNow | () | metod |
public function validateNow():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Validate and update the properties and layout of this object and redraw it, if necessary.
validateProperties | () | metod |
public function validateProperties():void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
This function is an empty stub so that ProgrammaticSkin
can implement the ILayoutManagerClient interface.
Skins do not call LayoutManager.invalidateProperties()
,
which would normally trigger a call to this method.
validateSize | () | metod |
public function validateSize(recursive:Boolean = false):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
This function is an empty stub so that ProgrammaticSkin
can implement the ILayoutManagerClient interface.
Skins do not call LayoutManager.invalidateSize()
,
which would normally trigger a call to this method.
Parametrar
recursive:Boolean (default = false ) — Determines whether children of this skin are validated.
|
verticalGradientMatrix | () | metod |
protected function verticalGradientMatrix(x:Number, y:Number, width:Number, height:Number):Matrix
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Utility function to create a vertical gradient matrix.
Parametrar
x:Number — The left edge of the gradient.
| |
y:Number — The top edge of the gradient.
| |
width:Number — The width of the gradient.
| |
height:Number — The height of the gradient.
|
Matrix — The horizontal gradient matrix. This is a temporary
object that should only be used for a single subsequent call
to the drawRoundRect() method.
|
Tue Jun 12 2018, 01:40 PM Z