META-INF.assets.rjzjh.zrender.graphic.LinearGradient.js Maven / Gradle / Ivy
define(function(require) {
'use strict';
var zrUtil = require('../core/util');
var Gradient = require('./Gradient');
/**
* x, y, x2, y2 are all percent from 0 to 1
* @param {number} [x=0]
* @param {number} [y=0]
* @param {number} [x2=1]
* @param {number} [y2=0]
* @param {Array.