fybdp-d3-kg
Version:
Knowledge Graph using React and D3.js
19 lines (18 loc) • 560 B
TypeScript
export declare class AbstractTextElement {
private container;
textBlock: any;
LINE_DISTANCE: number;
CSS_CLASSES: {
default: string;
subtext: string;
instanceCount: string;
};
DARK_TEXT_COLOR: string;
LIGHT_TEXT_COLOR: string;
constructor(container: any, backgroundColor: any);
private _getTextColor;
translation: (x: any, y: any) => this;
remove: () => this;
_applyPreAndPostFix(text: any, prefix: any, postfix: any): any;
calculateLuminance(color: any): number;
}