SourceTermAnalysisSystem_vue/node_modules/@antv/x6/es/shape/base.d.ts
2026-05-15 10:22:44 +08:00

25 lines
704 B
TypeScript

import { Node } from '../model';
export declare class Base<Properties extends Node.Properties = Node.Properties> extends Node<Properties> {
get label(): string | undefined | null;
set label(val: string | undefined | null);
getLabel(): string;
setLabel(label?: string | null, options?: Node.SetOptions): this;
removeLabel(): this;
}
export declare namespace Base {
const bodyAttr: {
fill: string;
stroke: string;
strokeWidth: number;
};
const labelAttr: {
fontSize: number;
fill: string;
refX: number;
refY: number;
textAnchor: string;
textVerticalAnchor: string;
fontFamily: string;
};
}