namespace NT { /** Represents a basic 2D shape. */ export interface IShape2D { /** The position of this shape. */ position : Vector2 ; /** The origin of this shape. */ origin : Vector2 ; /** The offset of this shape. */ readonly offset : Vector2 ; param json setFromJson ( json ) : void ; param other intersects ( other ) : boolean ; param point pointInShape ( point ) : boolean ; } }