frame property

CGRect get frame

frame

Implementation

objc.CGRect get frame {
  objc.checkOsVersionInternal('UIView.frame', iOS: (false, (2, 0, 0)));
  final _ptr = pkg_ffi.calloc<objc.CGRect>();
  objc.useMsgSendVariants
      ? _objc_msgSend_bu1hbwStret(_ptr, this.ref.pointer, _sel_frame)
      : _ptr.ref = _objc_msgSend_bu1hbw(this.ref.pointer, _sel_frame);
  final _finalizable = _ptr.cast<ffi.Uint8>().asTypedList(
    ffi.sizeOf<objc.CGRect>(),
    finalizer: pkg_ffi.calloc.nativeFree,
  );
  return ffi.Struct.create<objc.CGRect>(_finalizable);
}
set frame (CGRect value)

setFrame:

Implementation

set frame(objc.CGRect value) {
  objc.checkOsVersionInternal('UIView.setFrame:', iOS: (false, (2, 0, 0)));
  _objc_msgSend_1okkq16(this.ref.pointer, _sel_setFrame_, value);
}