frame property
CGRect
get
frame
The geometric frame of this item, represented in the coordinateSpace
of the UIFocusItemContainer in which it is contained.
Implementation
objc.CGRect get frame {
objc.checkOsVersionInternal('UIView.frame', iOS: (false, (12, 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);
}