drawWithRect method

void drawWithRect(
  1. NSRect rect, {
  2. required NSStringDrawingOptions options,
  3. NSDictionary? attributes,
})

drawWithRect:options:attributes:

Implementation

void drawWithRect(
  NSRect rect, {
  required NSStringDrawingOptions options,
  objc.NSDictionary? attributes,
}) {
  _objc_msgSend_g5bnri(
    this.ref.pointer,
    _sel_drawWithRect_options_attributes_,
    rect,
    options.value,
    attributes?.ref.pointer ?? ffi.nullptr,
  );
}