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.
17 lines
480 B
17 lines
480 B
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);
|
|
}
|