Rectangle

Kind of class:class
Inherits from:Shape
Known subclasses:
Classpath:Rectangle
File last modified:Saturday, 03 February 2007, 19:15:38

Summary


Constructor
Instance methods
  • setSize (inWidth:Number, inHeight:Number) : Void
    • TEST: parameter inHeight missing.
  • setLoc (inX:Number, inY:Number) : Void
  • serialize (inObject:Object) : String
  • retainCount : Number
    • Custom Rectangle comment.

Constructor

Rectangle

function Rectangle (
)

Instance methods

retainCount

function retainCount (
) : Number

Custom Rectangle comment. After this line the inherited comment from class Shape should be inserted. Just two random links for testing: Serializable and Shape.serialize.
Parameters:
myTag:
This is very much alike Objective-C.
#
Returns:
  • Custom Rectangle return comment. After this line the comment from class Shape should be inserted.
Overrides:

serialize

function serialize (
inObject:Object) : String

Overrides:

setLoc

function setLoc (
inX:Number, inY:Number) : Void

Parameters:
inX:
the new x position
#
inY:
the new y position
#
Overrides:

setSize

function setSize (
inWidth:Number, inHeight:Number) : Void

TEST: parameter inHeight missing. This should get inserted automatically by inheriting.
Parameters:
inWidth :
manually inserting an inherited comment after this line.
the new width
#
inHeight:
the new height
#
Overrides: