You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
parttimejob/node_modules/zrender/lib/graphic/LinearGradient.d.ts

17 lines
480 B

4 weeks ago
import Gradient, { GradientObject, GradientColorStop } from './Gradient';
export interface LinearGradientObject extends GradientObject {
type: 'linear';
x: number;
y: number;
x2: number;
y2: number;
}
export default class LinearGradient extends Gradient {
type: 'linear';
x: number;
y: number;
x2: number;
y2: number;
constructor(x: number, y: number, x2: number, y2: number, colorStops?: GradientColorStop[], globalCoord?: boolean);
}