[graphics] add rectFill() function