| Paket | spark.core |
| Sınıf | public class SpriteVisualElement |
| Miras Alma | SpriteVisualElement FlexSprite Sprite DisplayObjectContainer InteractiveObject DisplayObject EventDispatcher Object |
| Uygular | IVisualElement, IMXMLObject, IFlexModule |
| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
If you use ActionScript to add an FXG component to an application, it should be of type SpriteVisualElement.
| Özellik | Tanımlayan: | ||
|---|---|---|---|
![]() | accessibilityImplementation : AccessibilityImplementation
Bu InteractiveObject örneği için geçerli erişilebilirlik uygulaması (AccessibilityImplementation). | InteractiveObject | |
![]() | accessibilityProperties : AccessibilityProperties
Bu görüntüleme nesnesi için geçerli erişilebilirlik seçenekleri. | DisplayObject | |
![]() | alpha : Number
Belirtilen nesnenin alfa saydamlık değerini gösterir. | DisplayObject | |
| baseline : Object
The vertical distance in pixels from the anchor target to
the control's baseline position. | SpriteVisualElement | ||
| baselinePosition : Number [salt okunur]
The y-coordinate of the baseline
of the first line of text of the component. | SpriteVisualElement | ||
| blendMode : String [geçersiz kıl]
A value from the BlendMode class that specifies which blend mode to use. | SpriteVisualElement | ||
![]() | blendShader : Shader [salt yazılır]
Ön planı ve arka planı karıştırmak için kullanılacak bir gölgelendirici ayarlar. | DisplayObject | |
| bottom : Object
The vertical distance in pixels from the bottom edge of the component to the
anchor target's bottom edge. | SpriteVisualElement | ||
![]() | buttonMode : Boolean
Bu hareketli grafiğin düğme modunu belirtir. | Sprite | |
![]() | cacheAsBitmap : Boolean
true olarak ayarlanırsa, Flash çalışma zamanları, görüntüleme nesnesinin dahili bir bitmap temsilini önbelleğe alır. | DisplayObject | |
![]() | cacheAsBitmapMatrix : Matrix
Bu Matrix nesnesi null olmazsa, görüntüleme nesnesinin cacheAsBitmap true olarak ayarlandığı zaman nasıl oluşturacağını tanımlar. | DisplayObject | |
![]() | constructor : Object
Belirli bir nesne örneği için sınıf nesnesine veya yapıcı işlevine bir başvuru. | Object | |
![]() | contextMenu : NativeMenu
Bu nesneyle ilişkilendirilen bağlam menüsünü belirtir. | InteractiveObject | |
| depth : Number
Determines the order in which items inside of containers
are rendered. | SpriteVisualElement | ||
| designLayer : DesignLayer
Specifies the optional DesignLayer instance associated with this visual
element. | SpriteVisualElement | ||
![]() | doubleClickEnabled : Boolean
Nesnenin doubleClick olaylarını alıp almadığını belirtir. | InteractiveObject | |
![]() | dropTarget : DisplayObject [salt okunur]
Hareketli grafiğin üzerine sürüklenmekte olduğu veya hareketli grafiğin üzerine bırakıldığı görüntüleme nesnesini belirtir. | Sprite | |
![]() | filters : Array
Geçerli olarak görüntüleme nesnesiyle ilişkilendirilmiş her filtre nesnesini içeren dizinli bir dizi. | DisplayObject | |
![]() | focusRect : Object
Bu nesnenin bir odak dikdörtgeni görüntüleyip görüntülemediğini belirtir. | InteractiveObject | |
![]() | graphics : Graphics [salt okunur]
Vektör çizimi komutlarının gerçekleşebileceği, bu hareketli grafiğe ait Graphics nesnesini belirtir. | Sprite | |
| hasLayoutMatrix3D : Boolean [salt okunur]
Contains true if the element has 3D Matrix. | SpriteVisualElement | ||
![]() | height : Number
Görüntüleme nesnesinin yüksekliğini, piksel cinsinden belirtir. | DisplayObject | |
![]() | hitArea : Sprite
Bir hareketli grafik için tıklatma alanı olarak başka bir hareketli grafiği atar. | Sprite | |
| horizontalCenter : Object
The horizontal distance in pixels from the center of the component to the
center of the anchor target's content area. | SpriteVisualElement | ||
| id : String
The identity of the component. | SpriteVisualElement | ||
| includeInLayout : Boolean
Specifies whether this component is included in the layout of the
parent container. | SpriteVisualElement | ||
| is3D : Boolean [salt okunur]
Contains true when the element is in 3D. | SpriteVisualElement | ||
| layoutDirection : String
Specifies the desired layout direction for an element: one of LayoutDirection.LTR
(left to right), LayoutDirection.RTL (right to left), or null (inherit). | SpriteVisualElement | ||
| left : Object
The horizontal distance in pixels from the left edge of the component to the
anchor target's left edge. | SpriteVisualElement | ||
![]() | loaderInfo : LoaderInfo [salt okunur]
Bu görüntüleme nesnesinin ait olduğu dosyayı yükleme hakkında bilgi içeren bir LoaderInfo nesnesi döndürür. | DisplayObject | |
| luminosityClip : Boolean
A property that controls whether the luminosity
mask clips the masked content. | SpriteVisualElement | ||
| luminosityInvert : Boolean
A property that controls the calculation of the RGB
color value of a graphic element being masked by
a luminosity mask. | SpriteVisualElement | ||
| mask : DisplayObject [geçersiz kıl]
Sets the mask. | SpriteVisualElement | ||
| maskType : String
The mask type. | SpriteVisualElement | ||
![]() | metaData : Object
Meta veri SWF dosyasında PlaceObject4 aracılığıyla söz konusu DisplayObject örneğinin yanında depolanmışsa, DisplayObject örneğinin meta veri nesnesini alır. | DisplayObject | |
| moduleFactory : IFlexModuleFactory
A module factory is used as context for using embeded fonts and for
finding the style manager that controls the styles for this
component. | SpriteVisualElement | ||
![]() | mouseChildren : Boolean
Nesnenin alt öğelerinin, fare veya kullanıcı girdi aygıtı etkin olduğunu belirtir. | DisplayObjectContainer | |
![]() | mouseEnabled : Boolean
Bu nesnenin fare veya diğer kullanıcı girdisi iletileri alıp almadığını belirtir. | InteractiveObject | |
![]() | mouseX : Number [salt okunur]
Farenin veya kullanıcı girdi aygıtı konumunun x koordinatını piksel olarak belirtir. | DisplayObject | |
![]() | mouseY : Number [salt okunur]
Farenin veya kullanıcı girdi aygıtı konumunun y koordinatını piksel olarak belirtir. | DisplayObject | |
![]() | name : String
DisplayObject öğesinin örnek adını belirtir. | DisplayObject | |
![]() | needsSoftKeyboard : Boolean
Bu InteractiveObject örneği odak aldığında sanal bir klavyenin (ekrandaki yazılım klavyesi) görüntülenip görüntülenmemesi gerektiğini belirtir. | InteractiveObject | |
![]() | numChildren : int [salt okunur]
Bu nesnenin alt öğelerinin sayısını döndürür. | DisplayObjectContainer | |
![]() | opaqueBackground : Object
Görüntüleme nesnesinin belirli bir arka plan rengiyle opak olup olmadığını belirtir. | DisplayObject | |
| owner : DisplayObjectContainer
The owner of this IVisualElement object. | SpriteVisualElement | ||
![]() | parent : DisplayObjectContainer [salt okunur]
Bu görüntüleme nesnesini içeren DisplayObjectContainer nesnesini belirtir. | DisplayObject | |
| percentHeight : Number
Specifies the height of a component as a percentage
of its parent's size. | SpriteVisualElement | ||
| percentWidth : Number
Specifies the width of a component as a percentage
of its parent's size. | SpriteVisualElement | ||
| postLayoutTransformOffsets : mx.geom:TransformOffsets
Defines a set of adjustments that can be applied to the object's
transform in a way that is invisible to its parent's layout. | SpriteVisualElement | ||
| right : Object
The horizontal distance in pixels from the right edge of the component to the
anchor target's right edge. | SpriteVisualElement | ||
![]() | root : DisplayObject [salt okunur]
Yüklü bir SWF dosyasındaki bir görüntüleme nesnesi için root özelliği, görüntüleme listesi ağaç yapısının o SWF dosyası tarafından temsil edilen kısmındaki en üst görüntüleme nesnesidir. | DisplayObject | |
![]() | rotation : Number
DisplayObject örneğinin başlangıç yönlendirmesinden itibaren döndürülmesini derece olarak belirtir. | DisplayObject | |
| rotationX : Number [geçersiz kıl]
Indicates the x-axis rotation of the DisplayObject instance, in degrees,
from its original orientation relative to the 3D parent container. | SpriteVisualElement | ||
| rotationY : Number [geçersiz kıl]
Indicates the y-axis rotation of the DisplayObject instance, in degrees,
from its original orientation relative to the 3D parent container. | SpriteVisualElement | ||
![]() | rotationZ : Number
DisplayObject örneğinin, 3B üst kabına göre başlangıç yönlendirmesinden itibaren z ekseninde döndürülmesini derece olarak belirtir. | DisplayObject | |
![]() | scale9Grid : Rectangle
Etkin durumdaki geçerli ölçekleme ızgarası. | DisplayObject | |
![]() | scaleX : Number
Nesnenin, kayıt noktasından itibaren uygulandığı haliyle yatay ölçeğini (percentage) belirtir. | DisplayObject | |
![]() | scaleY : Number
Nesnenin kayıt noktasından itibaren uygulandığı haliyle nesnenin dikey ölçeğini (percentage) belirtir. | DisplayObject | |
![]() | scaleZ : Number
Nesnenin kayıt noktasından itibaren uygulandığı haliyle nesnenin derinlik ölçeğini (percentage) belirtir. | DisplayObject | |
![]() | scrollRect : Rectangle
Görüntüleme nesnesinin kaydırma dikdörtgeni sınırları. | DisplayObject | |
![]() | softKeyboard : String
Yazılım klavyesinin görünümünü kontrol eder. | InteractiveObject | |
![]() | softKeyboardInputAreaOfInterest : Rectangle
Yazılım klavyesi görüntülendiğinde ekranda kalması gereken alanı belirtir (iOS'ta kullanılabilir değildir) | InteractiveObject | |
![]() | soundTransform : flash.media:SoundTransform
Bu hareketli grafikteki sesi denetler. | Sprite | |
![]() | stage : Stage [salt okunur]
Görüntüleme nesnesinin Sahne Alanı. | DisplayObject | |
![]() | tabChildren : Boolean
Nesnenin alt öğelerinin sekme tuşuna tepki verip vermediğini belirler. | DisplayObjectContainer | |
![]() | tabEnabled : Boolean
Bu nesnenin sekme sırasında olup olmadığını belirtir. | InteractiveObject | |
![]() | tabIndex : int
SWF dosyasındaki nesnelerin sekme sıralamasını belirtir. | InteractiveObject | |
![]() | textSnapshot : flash.text:TextSnapshot [salt okunur]
Bu DisplayObjectContainer örneği için bir TextSnapshot nesnesi döndürür. | DisplayObjectContainer | |
| top : Object
The vertical distance in pixels from the top edge of the component to the
anchor target's top edge. | SpriteVisualElement | ||
![]() | transform : flash.geom:Transform
Bir görüntüleme nesnesinin matrisi, renk dönüşümü ve piksel sınırları ile ilgili özellikleri olan bir nesne. | DisplayObject | |
| transformX : Number
Sets the x coordinate for the transform center of the component. | SpriteVisualElement | ||
| transformY : Number
Sets the y coordinate for the transform center of the component. | SpriteVisualElement | ||
| transformZ : Number
Sets the z coordinate for the transform center of the component. | SpriteVisualElement | ||
![]() | useHandCursor : Boolean
İşaret eden elin (el imleci), buttonMode özelliği true değerine ayarlanmış bir hareketli grafiğin üzerinde işaretçi gezinirken görüntülenip görüntülenmeyeceğini belirten Boolean değeri. | Sprite | |
| verticalCenter : Object
The vertical distance in pixels from the center of the component to the
center of the anchor target's content area. | SpriteVisualElement | ||
| visible : Boolean [geçersiz kıl]
Controls the visibility of this visual element. | SpriteVisualElement | ||
![]() | width : Number
Görüntüleme nesnesinin genişliğini, piksel cinsinden belirtir. | DisplayObject | |
![]() | x : Number
DisplayObject örneğinin DisplayObjectContainer üst öğesinin yerel koordinatlarına göre x koordinatını belirtir. | DisplayObject | |
![]() | y : Number
DisplayObject örneğinin DisplayObjectContainer üst öğesinin yerel koordinatlarına göre y koordinatını belirtir. | DisplayObject | |
![]() | z : Number
3B üst kabına göre DisplayObject örneğinin z ekseni boyunca z koordinatı konumunu belirtir. | DisplayObject | |
| Özellik | Tanımlayan: | ||
|---|---|---|---|
| viewHeight : Number [salt yazılır]
Defines the vertical space that the graphic uses in the layout. | SpriteVisualElement | ||
| viewWidth : Number [salt yazılır]
Defines the horizontal space that the graphic uses in the layout. | SpriteVisualElement | ||
| Yöntem | Tanımlayan: | ||
|---|---|---|---|
Constructor. | SpriteVisualElement | ||
![]() |
Bu DisplayObjectContainer örneğine bir alt DisplayObject örneği ekler. | DisplayObjectContainer | |
![]() |
Bu DisplayObjectContainer örneğine bir alt DisplayObject örneği ekler. | DisplayObjectContainer | |
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
EventDispatcher nesnesi olan bir olay dinleyici nesnesini, dinleyicinin bir olayın bildirimini alması için kaydeder. | EventDispatcher | |
![]() |
Güvenlik kısıtlamalarının, DisplayObjectContainer.getObjectsUnderPoint() yönteminin belirtilen point noktası ile çağrılması sonucunda döndürülen listeden görüntüleme nesnelerinin çıkarılmasına neden olup olmayacağını belirtir. | DisplayObjectContainer | |
![]() |
Belirtilen görüntüleme nesnesinin, DisplayObjectContainer örneğinin alt öğesi mi, yoksa örneğin kendisi mi olduğunu belirler. | DisplayObjectContainer | |
![]() |
Olay akışına bir olay gönderir. | EventDispatcher | |
![]() |
Görüntüleme nesnesinin alanını targetCoordinateSpace nesnesinin koordinat sistemine göre tanımlayan bir dikdörtgen döndürür. | DisplayObject | |
Returns the x coordinate of the element's bounds at the specified element size. | SpriteVisualElement | ||
Returns the y coordinate of the element's bounds at the specified element size. | SpriteVisualElement | ||
![]() |
Belirtilen dizinde bulunan alt görüntüleme nesnesi örneğini döndürür. | DisplayObjectContainer | |
![]() |
Belirtilen ad ile var olan alt görüntüleme nesnesini döndürür. | DisplayObjectContainer | |
![]() |
Bir alt DisplayObject örneğinin dizin konumunu döndürür. | DisplayObjectContainer | |
Returns the element's layout height. | SpriteVisualElement | ||
Returns the element's layout width. | SpriteVisualElement | ||
Returns the x coordinate that the element uses to draw on screen. | SpriteVisualElement | ||
Returns the y coordinate that the element uses to draw on screen. | SpriteVisualElement | ||
Returns the transform matrix that is used to calculate the component's
layout relative to its siblings. | SpriteVisualElement | ||
Returns the layout transform Matrix3D for this element. | SpriteVisualElement | ||
Returns the element's maximum height. | SpriteVisualElement | ||
Returns the element's maximum width. | SpriteVisualElement | ||
Returns the element's minimum height. | SpriteVisualElement | ||
Returns the element's minimum width. | SpriteVisualElement | ||
![]() |
Belirtilen noktanın altında olan ve bu DisplayObjectContainer örneğinin alt öğesi (veya alt alt öğesi vb.) olan nesnelerin bir dizisini döndürür. | DisplayObjectContainer | |
Returns the element's preferred height. | SpriteVisualElement | ||
Returns the element's preferred width. | SpriteVisualElement | ||
![]() |
targetCoordinateSpace parametresince tanımlanan koordinat sistemini esas alarak ve her tür çizgi ve şekli dışarıda bırakarak görüntüleme nesnesinin sınırlarını tanımlayan bir dikdörtgen döndürür. | DisplayObject | |
![]() |
point nesnesini, Sahne Alanı (global) koordinatlarından görüntüleme nesnesinin (yerel) koordinatlarına dönüştürür. | DisplayObject | |
![]() |
Sahne Alanı (global) koordinatlarından iki boyutlu noktayı üç boyutlu görüntüleme nesnesinin (yerel) koordinatlarına dönüştürür. | DisplayObject | |
![]() |
EventDispatcher nesnesinin belirli bir olay türü için kayıtlı dinleyicisi olup olmadığını kontrol eder. | EventDispatcher | |
![]() |
Bir nesnenin belirli bir özelliğinin tanımlı olup olmadığını gösterir. | Object | |
![]() |
obj görüntüleme nesnesinin sınırlayıcı kutusuyla örtüşüp örtüşmediğini veya kesişip kesişmediğini görmek için görüntüleme nesnesinin sınırlayıcı kutusunu değerlendirir. | DisplayObject | |
![]() |
Görüntüleme nesnesinin x ve y parametreleriyle belirtilen noktayla örtüştüğünü veya kesiştiğini görmek için görüntüleme nesnesini değerlendirir. | DisplayObject | |
Called automatically by the MXML compiler when the SpriteVisualElement
is created using an MXML tag. | SpriteVisualElement | ||
An element must call this method when its layoutDirection changes or
when its parent's layoutDirection changes. | SpriteVisualElement | ||
![]() |
Object sınıfının bir örneğinin parametre olarak belirtilen nesnenin prototip zincirinde olup olmadığını gösterir. | Object | |
![]() |
Üç boyutlu görüntüleme nesnesinin (yerel) koordinatlarının üç boyutlu noktasını, Sahne Alanı (global) koordinatlarındaki iki boyutlu noktaya dönüştürür. | DisplayObject | |
![]() |
point nesnesini, görüntüleme nesnesinin (yerel) koordinatlarından Sahne Alanı (global) koordinatlarına dönüştürür. | DisplayObject | |
![]() |
Belirtilen özelliğin bulunup bulunmadığını ve numaralandırılabilir olup olmadığını gösterir. | Object | |
![]() |
Belirtilen alt DisplayObject örneğini DisplayObjectContainer örneğinin alt öğe listesinden kaldırır. | DisplayObjectContainer | |
![]() |
DisplayObjectContainer nesnesinin alt öğe listesinde belirtilen dizin konumundan bir alt DisplayObject öğesini kaldırır. | DisplayObjectContainer | |
![]() |
Tüm alt DisplayObject örneklerini DisplayObjectContainer örneğinin alt öğe listesinden kaldırır. | DisplayObjectContainer | |
![]() |
EventDispatcher nesnesinden bir dinleyiciyi kaldırır. | EventDispatcher | |
![]() |
Sanal bir klavye yükseltir. | InteractiveObject | |
![]() |
Mevcut bir alt öğenin görüntüleme nesnesi kabındaki konumunu değiştirir. | DisplayObjectContainer | |
setLayoutBoundsPosition(newBoundsX:Number, newBoundsY:Number, postLayoutTransform:Boolean = true):void
Sets the coordinates that the element uses to draw on screen. | SpriteVisualElement | ||
Sets the layout size of the element. | SpriteVisualElement | ||
Sets the transform Matrix that is used to calculate the component's layout
size and position relative to its siblings. | SpriteVisualElement | ||
Sets the transform Matrix3D that is used to calculate the component's layout
size and position relative to its siblings. | SpriteVisualElement | ||
![]() |
Dinamik bir özelliğin döngü işlemlerinde kullanılabilirliğini ayarlar. | Object | |
![]() |
Kullanıcının belirtilen hareketli grafiği sürüklemesini sağlar. | Sprite | |
![]() |
Kullanıcının dokunmatik etkin bir aygıtta belirli hareketli grafiği sürüklemesine izin verir. | Sprite | |
![]() |
Kökü bu nesnede bulunan tüm MovieClip öğelerinin zaman çizelgesinde yürütülmesini özyinelemeli olarak durdurur. | DisplayObjectContainer | |
![]() |
startDrag() yöntemini bitirir. | Sprite | |
![]() |
Dokunma etkin aygıtlarla kullanım için startTouchDrag() yöntemini sonlandırır. | Sprite | |
![]() |
Belirtilen iki alt nesnenin z sırasını (önden arkaya sıra) takas eder. | DisplayObjectContainer | |
![]() |
Alt öğe listesinde belirtilen iki dizin konumundaki alt öğe nesnelerinin z sırasını (önden arkaya sıra) takas eder. | DisplayObjectContainer | |
![]() |
Bu nesnenin, yerel ayara özel kurallara göre biçimlendirilmiş dize temsilini döndürür. | Object | |
![]() | [geçersiz kıl]
Returns a string indicating the location of this object
within the hierarchy of DisplayObjects in the Application. | FlexSprite | |
transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void
A utility method to update the rotation, scale, and translation of the
transform while keeping a particular point, specified in the component's
own coordinate space, fixed in the parent's coordinate space. | SpriteVisualElement | ||
A utility method to transform a point specified in the local
coordinates of this object to its location in the object's parent's
coordinates. | SpriteVisualElement | ||
![]() |
Belirtilen nesnenin temel değerini döndürür. | Object | |
![]() |
Bir olay dinleyicisinin bu EventDispatcher nesnesiyle mi, yoksa onun belirtilen olay türüne yönelik üst öğelerinden biriyle mi kayıtlı olduğunu kontrol eder. | EventDispatcher | |
| Yöntem | Tanımlayan: | ||
|---|---|---|---|
Invalidates parent size and display list if
this object affects its layout (includeInLayout is true). | SpriteVisualElement | ||
Transform the element's size. | SpriteVisualElement | ||
Transform the element's size. | SpriteVisualElement | ||
baseline | özellik |
baseline:Object| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The vertical distance in pixels from the anchor target to the control's baseline position.
By default the anchor target is the top edge of the container's content area. In layouts with advanced constraints, the target can be a constraint row.
Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.
To specify an anchor target, set the property value to a string in the format: "anchorTargetName:value". For example, "row1:10".
Uygulama
public function get baseline():Object public function set baseline(value:Object):voidbaselinePosition | özellik |
baselinePosition:Number [salt okunur] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The y-coordinate of the baseline of the first line of text of the component.
This property is used to implement
the baseline constraint style.
It is also used to align the label of a FormItem
with the controls in the FormItem.
Each component should override this property.
Uygulama
public function get baselinePosition():NumberblendMode | özellik |
blendMode:String[geçersiz kıl] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
A value from the BlendMode class that specifies which blend mode to use.
Varsayılan değer şudur auto.
Uygulama
override public function get blendMode():String override public function set blendMode(value:String):voidİlgili API Öğeleri
bottom | özellik |
bottom:Object| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The vertical distance in pixels from the bottom edge of the component to the anchor target's bottom edge.
By default the anchor target is the container's content area. In layouts with advanced constraints, the target can be a constraint row.
Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.
To specify an anchor target, set the property value to a string in the format: "anchorTargetName:value". For example, "row1:10".
Uygulama
public function get bottom():Object public function set bottom(value:Object):voiddepth | özellik |
depth:Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Determines the order in which items inside of containers
are rendered.
Spark containers order their items based on their
depth property, with the lowest depth in the back,
and the higher in the front.
Items with the same depth value appear in the order
they are added to the container.
Uygulama
public function get depth():Number public function set depth(value:Number):voiddesignLayer | özellik |
designLayer:DesignLayer| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Specifies the optional DesignLayer instance associated with this visual element.
When a DesignLayer is assigned, a visual element must consider the visibility and alpha of its parent layer when ultimately committing its own effective visibility or alpha to its backing DisplayObject (if applicable).
A visual element must listen for layerPropertyChange
notifications from the associated layer parent. When the
effectiveAlpha or effectiveVisibility of the
layer changes, the element must then compute its own effective visibility
(or alpha) and apply it accordingly.
This property should not be set within MXML directly.
The designLayer property is not used for z-order control,
please see depth.
Uygulama
public function get designLayer():DesignLayer public function set designLayer(value:DesignLayer):voidhasLayoutMatrix3D | özellik |
hasLayoutMatrix3D:Boolean [salt okunur] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Contains true if the element has 3D Matrix.
Use hasLayoutMatrix3D instead of calling and examining the
return value of getLayoutMatrix3D() because that method returns a valid
matrix even when the element is in 2D.
Uygulama
public function get hasLayoutMatrix3D():BooleanhorizontalCenter | özellik |
horizontalCenter:Object| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The horizontal distance in pixels from the center of the component to the center of the anchor target's content area.
The default anchor target is the container itself.
In layouts with advanced constraints, the anchor target can be a constraint column. Then the content area is the space between the preceding column (or container side) and the target column.
Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.
To specify an anchor target, set the property value to a string in the format "constraintColumnId:value". For example, "col1:10".
Uygulama
public function get horizontalCenter():Object public function set horizontalCenter(value:Object):voidid | özellik |
includeInLayout | özellik |
includeInLayout:Boolean| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Specifies whether this component is included in the layout of the
parent container.
If true, the object is included in its parent container's
layout and is sized and positioned by its parent container as per its layout rules.
If false, the object size and position are not affected by its parent container's
layout.
Uygulama
public function get includeInLayout():Boolean public function set includeInLayout(value:Boolean):voidis3D | özellik |
is3D:Boolean [salt okunur] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Contains true when the element is in 3D.
The element can be in 3D either because
it has 3D transform properties or it has 3D post layout transform offsets or both.
Uygulama
public function get is3D():BooleanlayoutDirection | özellik |
layoutDirection:String| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4.5 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 2.5 |
Specifies the desired layout direction for an element: one of LayoutDirection.LTR (left to right), LayoutDirection.RTL (right to left), or null (inherit). This property is typically backed by an inheriting style. If null, the layoutDirection style will be set to undefined. Classes like GraphicElement, which implement ILayoutDirectionElement but do not support styles, must additionally support a null value for this property which means the layoutDirection must be inherited from its parent.
Uygulama
public function get layoutDirection():String public function set layoutDirection(value:String):voidleft | özellik |
left:Object| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The horizontal distance in pixels from the left edge of the component to the anchor target's left edge.
By default the anchor target is the container's content area. In layouts with advanced constraints, the target can be a constraint column.
Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.
To specify an anchor target, set the property value to a string in the format "anchorTargetName:value". For example, "col1:10".
Uygulama
public function get left():Object public function set left(value:Object):voidluminosityClip | özellik |
luminosityClip:Boolean| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
A property that controls whether the luminosity mask clips the masked content. This property can only have an effect if the graphic element has a mask applied to it that is of type MaskType.LUMINOSITY.
Uygulama
public function get luminosityClip():Boolean public function set luminosityClip(value:Boolean):voidluminosityInvert | özellik |
luminosityInvert:Boolean| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
A property that controls the calculation of the RGB color value of a graphic element being masked by a luminosity mask. If true, the RGB color value of a pixel in the source content is inverted and multipled by the corresponding region in the mask. If false, the source content's pixel's RGB color value is used directly.
Uygulama
public function get luminosityInvert():Boolean public function set luminosityInvert(value:Boolean):voidmask | özellik |
mask:DisplayObject[geçersiz kıl] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Sets the mask. The mask will be added to the display list. The mask must not already on a display list nor in the elements array.
Uygulama
override public function get mask():DisplayObject override public function set mask(value:DisplayObject):voidmaskType | özellik |
maskType:String| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The mask type. Possible values are MaskType.CLIP, MaskType.ALPHA
or MaskType.LUMINOSITY.
Clip Masking
When masking in clip mode, a clipping masks is reduced to 1-bit. This means that a mask will not affect the opacity of a pixel in the source content; it either leaves the value unmodified, if the corresponding pixel in the mask is has a non-zero alpha value, or makes it fully transparent, if the mask pixel value has an alpha value of zero.
Alpha Masking
In alpha mode, the opacity of each pixel in the source content is multiplied by the opacity of the corresponding region of the mask. i.e., a pixel in the source content with an opacity of 1 that is masked by a region of opacity of .5 will have a resulting opacity of .5. A source pixel with an opacity of .8 masked by a region with opacity of .5 will have a resulting opacity of .4.
Luminosity Masking
A luminosity mask, sometimes called a 'soft mask', works very similarly to an alpha mask except that both the opacity and RGB color value of a pixel in the source content is multiplied by the opacity and RGB color value of the corresponding region in the mask.
Luminosity masking is not native to Flash but is common in Adobe Creative Suite tools like Adobe Illustrator and Adobe Photoshop. In order to accomplish the visual effect of a luminosity mask in Flash-rendered content, a graphic element specifying a luminosity mask actually instantiates a shader filter that mimics the visual look of a luminosity mask as rendered in Adobe Creative Suite tools.
Objects being masked by luminosity masks can set properties to control the RGB color value and clipping of the mask. See the luminosityInvert and luminosityClip attributes.
Bu özellik veri ciltleme kaynağı olarak kullanılabilir. Bu özellik değiştirildiğinde, propertyChange olayını gönderir.
Uygulama
public function get maskType():String public function set maskType(value:String):voidmoduleFactory | özellik |
moduleFactory:IFlexModuleFactory| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 9, AIR 1.1 |
A module factory is used as context for using embeded fonts and for finding the style manager that controls the styles for this component.
Uygulama
public function get moduleFactory():IFlexModuleFactory public function set moduleFactory(value:IFlexModuleFactory):voidowner | özellik |
owner:DisplayObjectContainer| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The owner of this IVisualElement object. By default, it is the parent of this IVisualElement object. However, if this IVisualElement object is a child component that is popped up by its parent, such as the drop-down list of a ComboBox control, the owner is the component that popped up this IVisualElement object.
This property is not managed by Flex, but by each component.
Therefore, if you use the PopUpManger.createPopUp() or
PopUpManger.addPopUp() method to pop up a child component,
you should set the owner property of the child component
to the component that popped it up.
The default value is the value of the parent property.
Uygulama
public function get owner():DisplayObjectContainer public function set owner(value:DisplayObjectContainer):voidpercentHeight | özellik |
percentHeight:Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Specifies the height of a component as a percentage
of its parent's size. Allowed values are 0-100.
Setting the height or explicitHeight properties
resets this property to NaN.
This property returns a numeric value only if the property was previously set; it does not reflect the exact size of the component in percent.
Uygulama
public function get percentHeight():Number public function set percentHeight(value:Number):voidpercentWidth | özellik |
percentWidth:Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Specifies the width of a component as a percentage
of its parent's size. Allowed values are 0-100. The default value is NaN.
Setting the width or explicitWidth properties
resets this property to NaN.
This property returns a numeric value only if the property was previously set; it does not reflect the exact size of the component in percent.
This property is always set to NaN for the UITextField control.
When used with Spark layouts, this property is used to calculate the
width of the component's bounds after scaling and rotation. For example
if the component is rotated at 90 degrees, then specifying
percentWidth will affect the component's height.
Uygulama
public function get percentWidth():Number public function set percentWidth(value:Number):voidpostLayoutTransformOffsets | özellik |
postLayoutTransformOffsets:mx.geom:TransformOffsets| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Defines a set of adjustments that can be applied to the object's transform in a way that is invisible to its parent's layout.
For example, if you want a layout to adjust for an object
that is rotated 90 degrees, set the object's
rotation property. If you want the layout to not
adjust for the object being rotated,
set its postLayoutTransformOffsets.rotationZ property.
Uygulama
public function get postLayoutTransformOffsets():mx.geom:TransformOffsets public function set postLayoutTransformOffsets(value:mx.geom:TransformOffsets):voidright | özellik |
right:Object| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The horizontal distance in pixels from the right edge of the component to the anchor target's right edge.
By default the anchor target is the container's content area. In layouts with advanced constraints, the target can be a constraint column.
Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.
To specify an anchor target, set the property value to a string in the format "anchorTargetName:value". For example, "col1:10".
Uygulama
public function get right():Object public function set right(value:Object):voidrotationX | özellik |
rotationX:Number[geçersiz kıl] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Indicates the x-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range. This property is ignored during calculation by any of Flex's 2D layouts.
Uygulama
override public function get rotationX():Number override public function set rotationX(value:Number):voidrotationY | özellik |
rotationY:Number[geçersiz kıl] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Indicates the y-axis rotation of the DisplayObject instance, in degrees, from its original orientation relative to the 3D parent container. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. Values outside this range are added to or subtracted from 360 to obtain a value within the range. This property is ignored during calculation by any of Flex's 2D layouts.
Uygulama
override public function get rotationY():Number override public function set rotationY(value:Number):voidtop | özellik |
top:Object| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The vertical distance in pixels from the top edge of the component to the anchor target's top edge.
By default the anchor target is the container's content area. In layouts with advanced constraints, the target can be a constraint row.
Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.
To specify an anchor target, set the property value to a string in the format "anchorTargetName:value". For example, "row1:10".
Uygulama
public function get top():Object public function set top(value:Object):voidtransformX | özellik |
transformX:Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Sets the x coordinate for the transform center of the component.
When this object is the target of a Spark transform effect,
you can override this property by setting
the AnimateTransform.autoCenterTransform property.
If autoCenterTransform is false, the transform
center is determined by the transformX,
transformY, and transformZ properties
of the effect target.
If autoCenterTransform is true,
the effect occurs around the center of the target,
(width/2, height/2).
Setting this property on the Spark effect class overrides the setting on the target object.
Uygulama
public function get transformX():Number public function set transformX(value:Number):voidİlgili API Öğeleri
transformY | özellik |
transformY:Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Sets the y coordinate for the transform center of the component.
When this object is the target of a Spark transform effect,
you can override this property by setting
the AnimateTransform.autoCenterTransform property.
If autoCenterTransform is false, the transform
center is determined by the transformY,
transformY, and transformZ properties
of the effect target.
If autoCenterTransform is true,
the effect occurs around the center of the target,
(width/2, height/2).
Setting this property on the Spark effect class overrides the setting on the target object.
Uygulama
public function get transformY():Number public function set transformY(value:Number):voidİlgili API Öğeleri
transformZ | özellik |
transformZ:Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Sets the z coordinate for the transform center of the component.
When this object is the target of a Spark transform effect,
you can override this property by setting
the AnimateTransform.autoCenterTransform property.
If autoCenterTransform is false, the transform
center is determined by the transformZ,
transformY, and transformZ properties
of the effect target.
If autoCenterTransform is true,
the effect occurs around the center of the target,
(width/2, height/2).
Setting this property on the Spark effect class overrides the setting on the target object.
Uygulama
public function get transformZ():Number public function set transformZ(value:Number):voidİlgili API Öğeleri
verticalCenter | özellik |
verticalCenter:Object| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
The vertical distance in pixels from the center of the component to the center of the anchor target's content area.
The default anchor target is the container itself.
In layouts with advanced constraints, the anchor target can be a constraint row. Then the content area is the space between the preceding row (or container side) and the target row.
Setting the property to a number or to a numerical string like "10" specifies use of the default anchor target.
To specify an anchor target, set the property value to a string in the format "constraintColumnId:value". For example, "row1:10".
Uygulama
public function get verticalCenter():Object public function set verticalCenter(value:Object):voidviewHeight | özellik |
viewHeight:Number [salt yazılır] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Defines the vertical space that the graphic uses in the layout. When you set this value, the content is not scaled.
Whereas, if you specify the value of the height property, the content is scaled.
There are two cases where this can be useful:
1) Specify a viewHeight larger than the natural size of the content. You might do this so that the graphic takes
up more space than its visual size.
2) Specify a viewHeight that is smaller than the natural size of the content. You might do this if your graphic has extra
chrome or a border that extends past the edges of the graphic. In this scenario, be sure to disable clipping in your layout.
Uygulama
protected function set viewHeight(value:Number):voidviewWidth | özellik |
viewWidth:Number [salt yazılır] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Defines the horizontal space that the graphic uses in the layout. When you set this value, the content is not scaled.
Whereas, if you specify the value of the width property, the content is scaled.
There are two cases where this can be useful:
1) Specify a viewWidth larger than the natural size of the content. You might do this so that the graphic takes
up more space than its visual size.
2) Specify a viewWidth that is smaller than the natural size of the content. You might do this if your graphic has extra
chrome or a border that extends past the edges of the graphic. In this scenario, be sure to disable clipping in your layout.
Uygulama
protected function set viewWidth(value:Number):voidvisible | özellik |
visible:Boolean[geçersiz kıl] | Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4.5 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 2.5 |
Controls the visibility of this visual element.
If true, the object is visible.
If an object is not visible, but the includeInLayout
property is set to true, then the object
takes up space in the container, but is invisible.
If visible is set to true, the object may not
necessarily be visible due to its size and whether container clipping
is enabled.
Setting visible to false,
prevents the component from getting focus.
Uygulama
override public function get visible():Boolean override public function set visible(value:Boolean):voidSpriteVisualElement | () | Yapıcı |
public function SpriteVisualElement()| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Constructor.
getBoundsXAtSize | () | yöntem |
public function getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the x coordinate of the element's bounds at the specified element size.
This method is typically used by layouts during a call to the
measure() method to predict what
the element position will be, if the element is resized to particular dimensions.
Parametreler
width:Number — The element's bounds width, or NaN to use the preferred width.
| |
height:Number — The element's bounds height, or NaN to use the preferred height.
| |
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
x coordinate of the element's bounding box top-left corner.
The bounding box is in element's parent coordinate space and is calculated
from the specified bounds size, layout position and layout transform matrix.
|
Number — The x coordinate of the element's bounds at the specified element size.
|
getBoundsYAtSize | () | yöntem |
public function getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the y coordinate of the element's bounds at the specified element size.
This method is typically used by layouts during a call to
the measure() to predict what
the element position will be, if the element is resized to particular dimensions.
Parametreler
width:Number — The element's bounds width, or NaN to use the preferred width.
| |
height:Number — The element's bounds height, or NaN to use the preferred height.
| |
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the y coordinate of the element's bounding box top-left corner.
The bounding box is in element's parent coordinate space and is calculated
from the specified bounds size, layout position and layout transform matrix.
|
Number — The y coordinate of the element's bounds at the specified element size.
|
getLayoutBoundsHeight | () | yöntem |
public function getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the element's layout height. This is the size that the element uses to draw on screen.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the element's bounding box width. The bounding box is in the element's parent
coordinate space and is calculated from the element's layout size and
layout transform matrix.
|
Number — The element's layout height.
|
getLayoutBoundsWidth | () | yöntem |
public function getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the element's layout width. This is the size that the element uses to draw on screen.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the element's bounding box width. The bounding box is in element's parent
coordinate space and is calculated from the element's layout size and
layout transform matrix.
|
Number — The element's layout width.
|
getLayoutBoundsX | () | yöntem |
public function getLayoutBoundsX(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the x coordinate that the element uses to draw on screen.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
x coordinate of the element's bounding box top-left corner.
The bounding box is in the element's parent coordinate space and is calculated
from the element's layout size, layout position and layout transform matrix.
|
Number — The x coordinate that the element uses to draw on screen.
|
getLayoutBoundsY | () | yöntem |
public function getLayoutBoundsY(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the y coordinate that the element uses to draw on screen.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
y coordinate of the element's bounding box top-left corner.
The bounding box is in the element's parent coordinate space and is calculated
from the element's layout size, layout position, and layout transform matrix.
|
Number — The y coordinate that the element uses to draw on screen.
|
getLayoutMatrix | () | yöntem |
public function getLayoutMatrix():Matrix| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the transform matrix that is used to calculate the component's layout relative to its siblings.
This matrix is typically defined by the
component's 2D properties such as x, y,
rotation, scaleX, scaleY,
transformX, and transformY.
Some components may have additional transform properties that
are applied on top of the layout matrix to determine the final,
computed matrix. For example UIComponent
defines the offsets property.
Matrix — The layout transform Matrix for this element.
Do not directly modify the return value; call the setLayoutMatrix() method instead.
|
getLayoutMatrix3D | () | yöntem |
public function getLayoutMatrix3D():Matrix3D| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the layout transform Matrix3D for this element.
This matrix is typically defined by the
component's transform properties such as x, y,
z, rotationX, rotationY,
rotationZ, scaleX, scaleY,
scaleZ, transformX, and transformY.
Some components may have additional transform properties that
are applied on top of the layout matrix to determine the final,
computed matrix. For example UIComponent
defines the offsets property.
Matrix3D — The layout transform Matrix3D for this element.
Do not directly modify the return value but call the setLayoutMatrix() method instead.
|
getMaxBoundsHeight | () | yöntem |
public function getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the element's maximum height.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the element's bounding box height. The bounding box is in the element's parent
coordinate space and is calculated from the element's maximum size and
layout transform matrix.
|
Number — The element's maximum height.
|
getMaxBoundsWidth | () | yöntem |
public function getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the element's maximum width.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the method returns
the element's bounding box width. The bounding box is in the element's parent
coordinate space and is calculated from the element's maximum size and
layout transform matrix.
|
Number — The element's maximum width.
|
getMinBoundsHeight | () | yöntem |
public function getMinBoundsHeight(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the element's minimum height.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the method returns the element's bounding box height.
The bounding box is in the element's parent
coordinate space and is calculated from the element's minimum size and
layout transform matrix.
|
Number — The element's maximum height.
|
getMinBoundsWidth | () | yöntem |
public function getMinBoundsWidth(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the element's minimum width.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the method returns the element's bounding box width.
The bounding box is in the element's parent
coordinate space and is calculated from the element's minimum size and
layout transform matrix.
|
Number — The element's maximum width.
|
getPreferredBoundsHeight | () | yöntem |
public function getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the element's preferred height.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the method returns the element's bounding box height.
The bounding box is in the element's parent
coordinate space and is calculated from the element's preferred size and
layout transform matrix.
|
Number — Returns the element's preferred height. Preferred height is
usually based on the default element size and any explicit overrides.
For UIComponent this is the same value as returned by
the getExplicitOrMeasuredHeight() method.
|
getPreferredBoundsWidth | () | yöntem |
public function getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Returns the element's preferred width.
Parametreler
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the method returns the element's bounding box width.
The bounding box is in the element's parent
coordinate space and is calculated from the element's preferred size and
layout transform matrix.
|
Number — Returns the element's preferred width. Preferred width is
usually based on the default element size and any explicit overrides.
For UIComponent this is the same value as returned by
the getExplicitOrMeasuredWidth() method.
|
initialized | () | yöntem |
public function initialized(document:Object, id:String):void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Called automatically by the MXML compiler when the SpriteVisualElement
is created using an MXML tag.
If you create the SpriteVisualElement through ActionScript you
must set the id property manually.
Parametreler
document:Object — The MXML document containing this SpriteVisualElement (not used).
| |
id:String — The MXML id for this SpriteVisualElement.
|
invalidateLayoutDirection | () | yöntem |
public function invalidateLayoutDirection():void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4.5 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 2.5 |
An element must call this method when its layoutDirection changes or when its parent's layoutDirection changes. If they differ, this method is responsible for mirroring the element’s contents and for updating the element’s post-layout transform so that descendants inherit a mirrored coordinate system. IVisualElements typically implement mirroring by using postLayoutTransformOffsets to scale the X axis by -1 and to translate the x coordinate of the origin by the element's width. The net effect of this "mirror" transform is to reverse the direction in which the X axis increases without changing the element's location relative to its parent's origin.
invalidateParentSizeAndDisplayList | () | yöntem |
protected function invalidateParentSizeAndDisplayList():void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Invalidates parent size and display list if this object affects its layout (includeInLayout is true).
setLayoutBoundsPosition | () | yöntem |
public function setLayoutBoundsPosition(newBoundsX:Number, newBoundsY:Number, postLayoutTransform:Boolean = true):void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Sets the coordinates that the element uses to draw on screen.
Note that calls to the setLayoutBoundSize() method can affect the layout position, so
call setLayoutBoundPosition() after calling setLayoutBoundSize().
Parametreler
newBoundsX:Number — The x-coordinate of the top-left corner of the bounding box.
| |
newBoundsY:Number — The y-coordinate of the top-left corner of the bounding box.
| |
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true,
the element is positioned in such a way that the top-left corner of its bounding box is (x, y).
The bounding box is in the element's parent coordinate space and is calculated
from the element's layout size, layout position and layout transform matrix.
|
setLayoutBoundsSize | () | yöntem |
public function setLayoutBoundsSize(width:Number, height:Number, postLayoutTransform:Boolean = true):void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Sets the layout size of the element. This is the size that the element uses to draw on screen.
If the width and/or height parameters are left unspecified (NaN),
Flex sets the element's layout size to its preferred width and/or preferred height.
Note that calls to the setLayoutBoundSize() method can affect the layout position, so
call setLayoutBoundPosition() after calling setLayoutBoundSize().
Parametreler
width:Number — The element's layout width.
| |
height:Number — The element's layout height.
| |
postLayoutTransform:Boolean (default = true) — When postLayoutTransform is true, the specified sizes
are those of the element's bounding box.
The bounding box is in the element's parent coordinate space and is calculated
from the element's layout size, layout position, and layout transform matrix.
|
setLayoutMatrix | () | yöntem |
public function setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Sets the transform Matrix that is used to calculate the component's layout size and position relative to its siblings.
The matrix is typically defined by the
component's 2D properties such as x, y,
rotation, scaleX, scaleY,
transformX, and transformY.
Some components may have additional transform properties that
are applied on top of the layout matrix to determine the final,
computed matrix. For example UIComponent
defines the offsets.
Note that layout Matrix is factored in the getPreferredSize(),
getMinSize(), getMaxSize(), getLayoutSize()
methods when computed in parent coordinates
as well as in getLayoutPosition() in both parent and child coordinates.
Layouts that calculate the transform matrix explicitly typically call
this method and work with sizes in child coordinates.
Layouts calling this method pass false
to the invalidateLayout() method so that a subsequent layout pass is not
triggered.
Parametreler
value:Matrix — The matrix.
| |
invalidateLayout:Boolean — true to cause the parent container
to re-layout its children. You typically pass true
to the invalidateLayout() method.
|
setLayoutMatrix3D | () | yöntem |
public function setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Sets the transform Matrix3D that is used to calculate the component's layout size and position relative to its siblings.
This matrix is typically defined by the
component's transform properties such as x, y,
z, rotationX, rotationY,
rotationZ, scaleX, scaleY,
scaleZ, transformX, and transformY.
Some components may have additional transform properties that
are applied on top of the layout matrix to determine the final,
computed matrix. For example UIComponent
defines the offsets property.
Note that layout Matrix3D is factored in the getPreferredSize(),
getMinSize(), getMaxSize(), getLayoutSize()
when computed in parent coordinates
as well as in getLayoutPosition() in both parent and child coordinates.
Layouts that calculate the transform matrix explicitly typically call
this method and work with sizes in child coordinates.
Layouts calling this method pass false
to the invalidateLayout() method so that a subsequent layout pass is not
triggered.
Parametreler
value:Matrix3D — The matrix.
| |
invalidateLayout:Boolean — true to cause the parent container
to re-layout its children. You typically pass true
to the invalidateLayout() method.
|
transformAround | () | yöntem |
public function transformAround(transformCenter:Vector3D, scale:Vector3D = null, rotation:Vector3D = null, translation:Vector3D = null, postLayoutScale:Vector3D = null, postLayoutRotation:Vector3D = null, postLayoutTranslation:Vector3D = null, invalidateLayout:Boolean = true):void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
A utility method to update the rotation, scale, and translation of the transform while keeping a particular point, specified in the component's own coordinate space, fixed in the parent's coordinate space. This function will assign the rotation, scale, and translation values provided, then update the x/y/z properties as necessary to keep the transform center fixed.
Parametreler
transformCenter:Vector3D — The point, in the component's own coordinates,
to keep fixed relative to its parent.
| |
scale:Vector3D (default = null) — The new values for the scale of the transform.
| |
rotation:Vector3D (default = null) — the new values for the rotation of the transform
| |
translation:Vector3D (default = null) — The new values for the translation of the transform.
| |
postLayoutScale:Vector3D (default = null) — The new values for the post-layout scale
of the transform.
| |
postLayoutRotation:Vector3D (default = null) — The new values for the post-layout rotation
of the transform.
| |
postLayoutTranslation:Vector3D (default = null) — The new values for the post-layout translation
of the transform.
| |
invalidateLayout:Boolean (default = true) — If true, the parent container size and display are
invalidated. Layouts calling this method pass false
so that a subsequent layout pass is not triggered.
|
transformHeightForLayout | () | yöntem |
protected function transformHeightForLayout(width:Number, height:Number, postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Transform the element's size.
This method calculates the bounding box of the graphic element as if the element’s width/height properties were set to the passed in values. The method returns the height of the bounding box.
In general, this method is not for use by developers. Instead, you should implement or override the methods defined by the ILayoutElement interface.
Parametreler
width:Number — The target pre-transform width.
| |
height:Number — The target pre-transform height.
| |
postLayoutTransform:Boolean (default = true) — When true, the returned bounding box is around the transformed element in its parent space (the element's transform is applied first).
|
Number — Returns the transformed height. Transformation is this element's
layout transformation matrix.
|
transformPointToParent | () | yöntem |
public function transformPointToParent(localPosition:Vector3D, position:Vector3D, postLayoutPosition:Vector3D):void| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
A utility method to transform a point specified in the local
coordinates of this object to its location in the object's parent's
coordinates. The pre-layout and post-layout result will be set on
the position and postLayoutPosition
parameters, if they are non-null.
Parametreler
localPosition:Vector3D — The point to be transformed, specified in the
local coordinates of the object.
| |
position:Vector3D — A Vector3D point that will hold the pre-layout
result. If null, the parameter is ignored.
| |
postLayoutPosition:Vector3D — A Vector3D point that will hold the post-layout
result. If null, the parameter is ignored.
|
transformWidthForLayout | () | yöntem |
protected function transformWidthForLayout(width:Number, height:Number, postLayoutTransform:Boolean = true):Number| Dil Sürümü: | ActionScript 3.0 |
| Ürün Sürümü: | Flex 4 |
| Çalışma Zamanı Sürümleri: | Flash Player 10, AIR 1.5 |
Transform the element's size.
This method calculates the bounding box of the graphic element as if the element’s width/height properties were set to the passed in values. The method returns the width of the bounding box.
In general, this method is not for use by developers. Instead, you should implement or override the methods defined by the ILayoutElement interface.
Parametreler
width:Number — The target pre-transform width.
| |
height:Number — The target pre-transform height.
| |
postLayoutTransform:Boolean (default = true) — When true, the returned bounding box is around the transformed element in its parent space (the element's transform is applied first).
|
Number — Returns the transformed width. Transformation is this element's
layout transformation matrix.
|
Tue Jun 12 2018, 01:09 PM Z
Miras Alınan Genel Özellikleri Gizle
Miras Alınan Genel Özellikleri Göster