set method
- T left,
- T top,
- T width,
- T height,
Sets the properties of this rectangle.
left: The new x-coordinate of the left edge.top: The new y-coordinate of the top edge.width: The new width.height: The new height.
Implementation
set(T left, T top, T width, T height) {
this
..left = left
..top = top
..width = width
..height = height;
}