Class: ModelRectangle

ModelRectangle


new ModelRectangle( [p_config])

Parameters:
Name Type Argument Description
p_config Object <optional>
Properties
Name Type Argument Default Description
x number <optional>
0
y number <optional>
0
width number <optional>
0
height number <optional>
0
Properties:
Name Type Description
x number the x position of the rectangle
y number the y position of the rectangle
width number the width of the rectangle
height number the height of the rectangle
Source:

Methods


reset()

Resets the model to its config values.
Source: