套件 | mx.charts.renderers |
類別 | public class LineRenderer |
繼承 | LineRenderer ![]() ![]() ![]() ![]() ![]() ![]() |
實作 | IDataRenderer |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
lineStroke
and form
styles,
respectively.
公用屬性
屬性 | 定義自 | ||
---|---|---|---|
![]() | accessibilityProperties : AccessibilityProperties
此顯示物件的目前輔助功能選項。 | DisplayObject | |
![]() | alpha : Number
指出所指定物件的 Alpha 透明度值。 | DisplayObject | |
![]() | blendMode : String
來自 BlendMode 類別的值,會指定要使用何種混合模式。 | DisplayObject | |
![]() | blendShader : Shader [唯寫]
設定用來混合前景和背景的著色器。 | DisplayObject | |
![]() | cacheAsBitmap : Boolean
如果設定為 true,Flash 執行階段會快取顯示物件的內部點陣圖表示法。 | DisplayObject | |
![]() | cacheAsBitmapMatrix : Matrix
如果為非 null,當 cacheAsBitmap 設定為 true 時,這個 Matrix 物件會定義顯示物件的顯示方法。 | DisplayObject | |
![]() | constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | |
data : Object
The chart item that this renderer represents. | LineRenderer | ||
![]() | filters : Array
索引的陣列,其中包含目前和顯示物件相關的每個濾鏡物件。 | DisplayObject | |
![]() | graphics : Graphics [唯讀]
指定屬於此 Shape 物件的 Graphics 物件,其中可能會產生向量繪圖命令。 | Shape | |
![]() | height : Number
會指出顯示物件的高度,以像素為單位。 | 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 [唯讀]
會傳回 LoaderInfo 物件,其中包含關於載入此顯示物件所屬之檔案的資訊。 | DisplayObject | |
![]() | mask : DisplayObject
呼叫之顯示物件會以指定的 mask 物件遮蓋。 | DisplayObject | |
![]() | measuredHeight : Number [唯讀]
The measured height of this object. | ProgrammaticSkin | |
![]() | measuredWidth : Number [唯讀]
The measured width of this object. | ProgrammaticSkin | |
![]() | metaData : Object
如果中繼資料是透過 PlaceObject4 標籤與 SWF 檔案中的這個 DisplayObject 實體一同儲存,則會取得 DisplayObject 實體的中繼資料物件。 | DisplayObject | |
![]() | mouseX : Number [唯讀]
指出滑鼠或使用者輸入裝置位置的 x 座標,以像素為單位。 | DisplayObject | |
![]() | mouseY : Number [唯讀]
指出滑鼠或使用者輸入裝置位置的 y 座標,以像素為單位。 | DisplayObject | |
![]() | name : String
指出 DisplayObject 的實體名稱。 | DisplayObject | |
![]() | nestLevel : int
Depth of this object in the containment hierarchy. | ProgrammaticSkin | |
![]() | opaqueBackground : Object
會指定顯示物件是否不透明,並具有特定背景顏色。 | DisplayObject | |
![]() | parent : DisplayObjectContainer [唯讀]
指出包含此顯示物件的 DisplayObjectContainer 物件。 | DisplayObject | |
![]() | processedDescriptors : Boolean
Set to true after immediate or deferred child creation,
depending on which one happens. | ProgrammaticSkin | |
![]() | root : DisplayObject [唯讀]
對載入之 SWF 檔案的顯示物件而言,root 屬性就是該 SWF 檔案所呈現之顯示清單樹狀結構部分的最上層顯示物件。 | DisplayObject | |
![]() | rotation : Number
指出 DisplayObject 實體的旋轉度數 (從該物件原本方向算起)。 | DisplayObject | |
![]() | rotationX : Number
表示 DisplayObject 實體相對於 3D 父輩容器從原始方向旋轉的 x 軸旋轉 (以度數為單位)。 | DisplayObject | |
![]() | rotationY : Number
表示 DisplayObject 實體相對於 3D 父輩容器從原始方向旋轉的 y 軸旋轉 (以度數為單位)。 | DisplayObject | |
![]() | rotationZ : Number
表示 DisplayObject 實體相對於 3D 父輩容器從原始方向旋轉的 z 軸旋轉 (以度數為單位)。 | DisplayObject | |
![]() | scale9Grid : Rectangle
目前產生效用的縮放格線。 | DisplayObject | |
![]() | scaleX : Number
指出從註冊點套用的物件水平縮放 (百分比)。 | DisplayObject | |
![]() | scaleY : Number
指出從物件註冊點套用的物件垂直縮放 (百分比)。 | DisplayObject | |
![]() | scaleZ : Number
指出從物件註冊點套用的物件深度縮放 (百分比)。 | DisplayObject | |
![]() | scrollRect : Rectangle
顯示物件的捲動矩形範圍。 | DisplayObject | |
![]() | stage : Stage [唯讀]
顯示物件的「舞台」。 | DisplayObject | |
![]() | styleName : Object
A parent component used to obtain style values. | ProgrammaticSkin | |
![]() | transform : flash.geom:Transform
這是一個物件,具有和顯示物件的矩陣、顏色轉換和像素邊界有關的屬性。 | 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
不管是否看得見顯示物件。 | DisplayObject | |
![]() | width : Number
會指出顯示物件的寬度,以像素為單位。 | DisplayObject | |
![]() | x : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 x 座標。 | DisplayObject | |
![]() | y : Number
指出 DisplayObject 實體相對於父輩 DisplayObjectContainer 之區域座標的 y 座標。 | DisplayObject | |
![]() | z : Number
表示 DisplayObject 實體相對於 3D 父輩容器的 z 座標位置 (沿著 z 軸)。 | DisplayObject |
公用方法
方法 | 定義自 | ||
---|---|---|---|
Constructor. | LineRenderer | ||
![]() | addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | |
![]() |
會將事件傳送到事件流程。 | EventDispatcher | |
![]() |
傳回可定義顯示物件區域 (相對於 targetCoordinateSpace 物件的座標系統) 的矩形。 | DisplayObject | |
![]() |
根據 targetCoordinateSpace 參數所定義的座標系統,並排除形狀上的任何筆畫,傳回可定義顯示物件邊界的矩形。 | DisplayObject | |
![]() |
Returns the value of the specified style property. | ProgrammaticSkin | |
![]() |
將 point 物件從「舞台」(全域) 座標轉換成顯示物件的 (區域) 座標。 | DisplayObject | |
![]() |
將二維點從「舞台」(全域) 座標轉換為三維顯示物件的 (區域) 座標。 | DisplayObject | |
![]() |
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | |
![]() |
指出物件是否有已定義的指定屬性。 | Object | |
![]() |
評估顯示物件的範圍框,看它是否與 obj 顯示物件的範圍框重疊或相交。 | DisplayObject | |
![]() |
評估顯示物件,看它是否與 x 和 y 參數所指定的點重疊或相交。 | 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 | |
![]() |
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | |
![]() |
將三維顯示物件的 (區域) 座標的三維點轉換為「舞台」(全域) 座標中的二維點。 | DisplayObject | |
![]() |
將 point 物件從顯示物件的 (區域) 座標轉換成「舞台」(全域) 座標。 | DisplayObject | |
![]() |
Moves this object to the specified x and y coordinates. | ProgrammaticSkin | |
![]() |
指出指定的屬性是否存在,以及是否可列舉。 | Object | |
![]() |
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | |
![]() |
Sets the height and width of this object. | ProgrammaticSkin | |
![]() |
為迴圈作業設定動態屬性的可用性。 | Object | |
![]() |
Whenever any style changes, redraw this skin. | ProgrammaticSkin | |
![]() |
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | |
![]() | [覆寫]
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 | |
![]() |
會傳回指定之物件的基本值。 | Object | |
![]() |
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
屬性詳細資訊
data | 屬性 |
data:Object
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The chart item that this renderer represents. LineRenderers assume that this value is an instance of LineSeriesItem. This value is assigned by the owning series.
實作
public function get data():Object
public function set data(value:Object):void
建構函式詳細資料
LineRenderer | () | 建構函式 |
public function LineRenderer()
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
Tue Jun 12 2018, 03:47 PM Z