putRect static method

void putRect(
  1. GRect rect
)

Store a GRect in the pool. Remember to not keep any references to the object after moving it to the pool.

Implementation

static void putRect(GRect rect) {
  _rectangles.add(rect);
}