variable tRectputrectangle [50,100,150,200] into tRect// Store the width of the rectangle in a variablevariable tWidthputthewidthof tRect into tWidth// Increase the width of the rectanglesetthewidthof tRect to (tWidth + 10)
Description
The width of the rectangle.
Note: Setting the width of a rectangle will resize it without moving the left edge, expanding or contracting from the right.