canvasGradient top-level property

dynamic get canvasGradient

An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient().

MDN Reference

Implementation

_i2.dynamic get canvasGradient => _i4.getProperty(
      _self,
      'CanvasGradient',
    );