annie.Rectangle Class
Item Index
Methods
- createFromPoints static
- createFromRects static
- isPointIn
- Rectangle
- testRectCross
Properties
Methods
createFromPoints
(
annie.Rectangle
public
static
-
p1
-
ary
通过一系列点来生成一个矩形 返回包含所有给定的点的最小矩形
Parameters:
-
p1
annie.Point -
ary
..arg
Returns:
createFromRects
(
public
static
-
rect
-
arg
将多个矩形合成为一个矩形,并将结果存到第一个矩形参数,并返回
Parameters:
-
rect
annie.Rectangle -
arg
..arg
Properties
instanceId
Unknown
public
每一个annie引擎对象都会有一个唯一的id码。
Example:
//获取 annie引擎类对象唯一码
trace(this.instanceId);
instanceType
Unknown
public
每一个annie类都有一个实例类型字符串,通过这个字符串,你能知道这个实例是从哪个类实例而来