getNextLineInPool method
Implementation
RenderableLine? getNextLineInPool() {
try{
if ( _lineCount == _linePoolLength ) {
RenderableLine line = RenderableLine();
_linePool.add( line );
_linePoolLength ++;
_lineCount ++;
return line;
}
return _linePool[ _lineCount ++ ];
}
catch(e){
console.warning('projector.dart -> getNextLineInPool -> Exception:$e');
return null;
}
}