bounds property

CGRect get bounds

bounds

Implementation

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

setBounds:

Implementation

set bounds(objc.CGRect value) {
  objc.checkOsVersionInternal('UIView.setBounds:', iOS: (false, (2, 0, 0)));
  _objc_msgSend_1okkq16(this.ref.pointer, _sel_setBounds_, value);
}