initWithCGColor method

UIColor initWithCGColor(
  1. Pointer<CGColor> cgColor
)

initWithCGColor:

Implementation

UIColor initWithCGColor(ffi.Pointer<CGColor> cgColor) {
  objc.checkOsVersionInternal('UIColor.initWithCGColor:', iOS: (false, (2, 0, 0)));
  final $ret = _objc_msgSend_1rsocyz(object$.ref.retainAndReturnPointer(), _sel_initWithCGColor_, cgColor);
  return UIColor.fromPointer($ret, retain: false, release: true);
}