Rectangle

Rectangle

package flash-geom

Available on flash

Constructor

new (x:Float = 0, y:Float = 0, width:Float = 0, height:Float = 0)

Variables

bottom:Float

bottomRight:Point

height:Float

left:Float

size:Point

top:Float

topLeft:Point

width:Float

x:Float

y:Float

Methods

clone ():Rectangle

contains (x:Float, y:Float):Bool

containsPoint (point:Point):Bool

containsRect (rect:Rectangle):Bool

copyFrom (sourceRect:Rectangle):Void

equals (toCompare:Rectangle):Bool

inflate (dx:Float, dy:Float):Void

inflatePoint (point:Point):Void

intersection (toIntersect:Rectangle):Rectangle

intersects (toIntersect:Rectangle):Bool

isEmpty ():Bool

offset (dx:Float, dy:Float):Void

offsetPoint (point:Point):Void

setEmpty ():Void

setTo (xa:Float, ya:Float, widtha:Float, heighta:Float):Void

toString ():String

union (toUnion:Rectangle):Rectangle

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/flash/geom/Rectangle.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部