Area

fun Area(    posX: Number = 0,     posY: Number = 0,     width: Number = DEFAULT_AREA_WIDTH,     height: Number = DEFAULT_AREA_HEIGHT,     visual: Visual = Visual.EMPTY)

Creates an Area.

Parameters

posX

Horizontal coordinate for this Area. Default: 0.

posY

Vertical coordinate for this Area. Default: 0.

width

Width for this Area. Default: DEFAULT_AREA_WIDTH.

height

Height for this Area. Default: DEFAULT_AREA_HEIGHT.

visual

Visual for this Area. Default: Visual.EMPTY.