createLinearGradient property

CanvasGradient Function(num, num, num, num) get createLinearGradient

Implementation

_i3.CanvasGradient Function(
  _i2.num,
  _i2.num,
  _i2.num,
  _i2.num,
) get createLinearGradient => (
      _i2.num p0,
      _i2.num p1,
      _i2.num p2,
      _i2.num p3,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'createLinearGradient',
          ),
          r'call',
          [
            this,
            p0,
            p1,
            p2,
            p3,
          ],
        );
set createLinearGradient (CanvasGradient value(num, num, num, num))

Implementation

set createLinearGradient(
    _i3.CanvasGradient Function(
      _i2.num,
      _i2.num,
      _i2.num,
      _i2.num,
    ) value) {
  _i4.setProperty(
    this,
    'createLinearGradient',
    _i4.allowInterop(value),
  );
}