drawWithRect method
void
drawWithRect(
- CGRect rect, {
- required NSStringDrawingOptions options,
- NSDictionary? attributes,
- NSStringDrawingContext? context,
drawWithRect:options:attributes:context:
Implementation
void drawWithRect(
objc.CGRect rect, {
required NSStringDrawingOptions options,
objc.NSDictionary? attributes,
NSStringDrawingContext? context,
}) {
objc.checkOsVersionInternal(
'NSString.drawWithRect:options:attributes:context:',
iOS: (false, (7, 0, 0)),
macOS: (false, (10, 11, 0)),
);
_objc_msgSend_1dr66uk(
this.ref.pointer,
_sel_drawWithRect_options_attributes_context_,
rect,
options.value,
attributes?.ref.pointer ?? ffi.nullptr,
context?.ref.pointer ?? ffi.nullptr,
);
}