1 ) function: reset
2 ) function: transformString
3 ) function: toString

Object: Transform

Object Description:

Constructor: Transform
  • Parameter
    : scale_x - initial scale in the x direction
scale_y - initial scale in the y direction
translate_x - initial translate in the x direction
translate_y - initial translate in the y direction

Method: reset
Description: reset to the initial scale

Method: transformString
Description: create the string passed to the transfom function
  • Parameter
    : the content pane being transformed

Method: toString
Description: Return a string representation of this object