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
544 B
12 lines
544 B
4 weeks ago
|
import Definable from './Definable';
|
||
|
import Displayable from '../../graphic/Displayable';
|
||
|
import { PatternObject } from '../../graphic/Pattern';
|
||
|
export default class PatternManager extends Definable {
|
||
|
constructor(zrId: number, svgRoot: SVGElement);
|
||
|
addWithoutUpdate(svgElement: SVGElement, displayable: Displayable): void;
|
||
|
add(pattern: PatternObject): SVGElement;
|
||
|
update(pattern: PatternObject | string): void;
|
||
|
updateDom(pattern: PatternObject, patternDom: SVGElement): void;
|
||
|
markUsed(displayable: Displayable): void;
|
||
|
}
|