https://developer.apple.com/documentation/appkit/1473652-nsrectfill
説明がないから自分で同等の処理書くしかねーんじゃねーの
https://developer.apple.com/documentation/appkit/nsbezierpath/1520747-fill
ざっと見た感じNSBezierPath.fill(_ rect: NSRect)で出来そうだけど