浏览代码

Update GraphicsPathCommand.hx

Justo Delgado 10 年之前
父节点
当前提交
557bc01fa6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/flash/display/GraphicsPathCommand.hx

+ 1 - 1
std/flash/display/GraphicsPathCommand.hx

@@ -4,7 +4,7 @@ extern class GraphicsPathCommand {
 	public static inline var LINE_TO = 2;
 	public static inline var LINE_TO = 2;
 	public static inline var MOVE_TO = 1;
 	public static inline var MOVE_TO = 1;
 	public static inline var CURVE_TO = 3;
 	public static inline var CURVE_TO = 3;
-	public static inline var CUBIC_CURVE_TO = 6;
+	@:require(flash11) public static inline var CUBIC_CURVE_TO = 6;
 	public static inline var WIDE_LINE_TO = 5;
 	public static inline var WIDE_LINE_TO = 5;
 	public static inline var WIDE_MOVE_TO = 4;
 	public static inline var WIDE_MOVE_TO = 4;
 	public static inline var NO_OP = 0;
 	public static inline var NO_OP = 0;