IntRect.fromLTWH constructor
Creates a new IntRect from left, top, width, and height values.
left The x-coordinate of the left edge.
top The y-coordinate of the top edge.
width The width of the rectangle.
height The height of the rectangle.
Implementation
factory IntRect.fromLTWH(
final int left,
final int top,
final int width,
final int height,
) {
return IntRect(left, top, width, height);
}