Search for question
Question

• set Width

Input: width (double)

Output: none

.getColor

Input: none

Output: color of the shape (type Color)

• getXPos

Input: none

Output: x position of the upper left corner (double)

getYPos

Input: none

Output: y position of the upper left corner (double)

• getHeight

Input: none

Output: height (double)

• get Width

Input: none

Output: width (double).

Fig: 1