Class List

Class Shape

Extends DisplayObject.
The Shape class includes a graphics property, which lets you create shapes and graphics. Known issue: the width and height are 0, need to be specified manually.

Class Summary
Constructor Attributes Constructor Name and Description
 
Shape()
Constructor.
Field Summary
Field Attributes Field Name and Description
 
Specifies the Graphics object belonging to this Shape object, where vector drawing commands can occur.
Fields borrowed from class DisplayObject:
alpha, height, id, mouseEnabled, name, parent, regX, regY, rotation, scaleX, scaleY, stage, useHandCursor, visible, width, x, y
Methods borrowed from class DisplayObject:
getCurrentHeight, getCurrentWidth, getRect, getStage, globalToLocal, hitTestObject, hitTestPoint, localToGlobal, localToTarget, onMouseEvent, render, toString
Methods borrowed from class EventDispatcher:
addEventListener, dispatchEvent, hasEventListener, removeAllEventListeners, removeEventListener, removeEventListenerByType
Class Detail
Shape()
Constructor.
Field Detail
graphics
Specifies the Graphics object belonging to this Shape object, where vector drawing commands can occur.

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jul 25 2011 15:02:39 GMT+0800 (CST)