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.
12 lines
546 B
12 lines
546 B
1 month ago
|
import Definable from './Definable';
|
||
|
import Displayable from '../../graphic/Displayable';
|
||
|
import { GradientObject } from '../../graphic/Gradient';
|
||
|
export default class GradientManager extends Definable {
|
||
|
constructor(zrId: number, svgRoot: SVGElement);
|
||
|
addWithoutUpdate(svgElement: SVGElement, displayable: Displayable): void;
|
||
|
add(gradient: GradientObject): SVGElement;
|
||
|
update(gradient: GradientObject | string): void;
|
||
|
updateDom(gradient: GradientObject, dom: SVGElement): void;
|
||
|
markUsed(displayable: Displayable): void;
|
||
|
}
|