arrowtype.as

来自「用于flash/flex的 as3的 2D图形图像图表的动态生成」· AS 代码 · 共 24 行

AS
24
字号
package flare.vis.data.render
{	
	/**
	 * Utility class defining arrow types for directed edges.
	 */
	public class ArrowType
	{
		/** Indicates that no arrows should be drawn. */
		public static const NONE:String = "none";
		/** Indicates that a closed triangular arrow head should be drawn. */
		public static const TRIANGLE:String = "triangle";
		/** Indicates that two lines should be used to draw the arrow head. */
		public static const LINES:String = "lines";
		
		/**
		 * This constructor will throw an error, as this is an abstract class. 
		 */
		public function ArrowType()
		{
			throw new Error("This is an abstract class.");
		}

	} // end of class ArrowType
}

⌨️ 快捷键说明

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