drawWithRect method

void drawWithRect(
  1. NSRect rect, {
  2. required NSStringDrawingOptions options,
})

drawWithRect:options:

Implementation

void drawWithRect(NSRect rect, {required NSStringDrawingOptions options}) {
  objc.checkOsVersionInternal(
    'NSAttributedString.drawWithRect:options:',
    iOS: (false, (3, 2, 0)),
    macOS: (false, (10, 0, 0)),
  );
  _objc_msgSend_1rmtpco(
    this.ref.pointer,
    _sel_drawWithRect_options_,
    rect,
    options.value,
  );
}