Home Reference Source
public class | source

Rectangle

Extends:

TypedObject → Rectangle

Constructor Summary

Public Constructor
public

constructor(x: *, y: *, w: *, h: *)

Member Summary

Public Members
public

height: *

public

width: *

public

x: *

public

y: *

Method Summary

Public Methods
public
public

getHeight(): *

public

getWidth(): *

public

getX(): *

public

getY(): *

public

setHeight(val: *)

public

setWidth(val: *)

public

setX(val: *)

public

setY(val: *)

Inherited Summary

From class TypedObject
public

typeCache: {}

public
public

Returns a list of strings that represent the object hierarchy for this object.

public

Returns true if the class name to check is in the list of class names defined for this class.

Public Constructors

public constructor(x: *, y: *, w: *, h: *) source

Override:

TypedObject#constructor

Params:

NameTypeAttributeDescription
x *
y *
w *
h *

Public Members

public height: * source

public width: * source

public x: * source

public y: * source

Public Methods

public getClassNames(): string source

Returns a list of strings that represent the object hierarchy for this object.

Override:

TypedObject#getClassNames

Return:

string

public getHeight(): * source

Return:

*

public getWidth(): * source

Return:

*

public getX(): * source

Return:

*

public getY(): * source

Return:

*

public setHeight(val: *) source

Params:

NameTypeAttributeDescription
val *

public setWidth(val: *) source

Params:

NameTypeAttributeDescription
val *

public setX(val: *) source

Params:

NameTypeAttributeDescription
val *

public setY(val: *) source

Params:

NameTypeAttributeDescription
val *