initWithCGColor method

UIColor initWithCGColor(
  1. Pointer<CGColor> cgColor
)

initWithCGColor:

Implementation

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