Rect属性origin : Point一个矩形左上角的点width : double宽height : double高方法area() : double返回这个矩形的面积hitTest(target : Point) : boolean检测 target 点 是否在矩形内在矩形边上 不算 矩形内