legenditemdata.as

来自「这是YUI的源码及相关示例。里面有很多很炫的Javascript效果。」· AS 代码 · 共 50 行

AS
50
字号
package com.yahoo.astra.fl.charts.legend{	import flash.display.Shape;		/**	 * @author Josh Tynjala	 */	public class LegendItemData	{			//--------------------------------------	//  Constructor	//--------------------------------------			/**		 * Constructor.		 * 		 * @param label			The text to display on the LegendItem.		 * @param markerSkin	The skin to use with the marker on the LegendItem.		 * @param fillColor		The base color (possibly) used by the marker.		 */		public function LegendItemData(label:String = "", markerSkin:Object = null, fillColor:uint = 0x000000)		{			this.label = label;			this.markerSkin = markerSkin ? markerSkin : Shape;			this.fillColor = fillColor;		}			//--------------------------------------	//  Properties	//--------------------------------------			/**		 * The text to display on the LegendItem.		 */		public var label:String;				/**		 * The skin to use for the marker on the LegendItem.		 */		public var markerSkin:Object;				/**		 * The base color (possibly) used by the marker.		 */		public var fillColor:uint;	}	}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?