getNextLineInPool method

RenderableLine getNextLineInPool()

Implementation

RenderableLine getNextLineInPool() {
  if (_lineCount == _linePoolLength) {
    RenderableLine line = RenderableLine();
    _linePool.add(line);
    _linePoolLength++;
    _lineCount++;
    return line;
  }
  return _linePool[_lineCount++];
}