@hpcc-js/react
Version:
hpcc-js - Viz React
32 lines (31 loc) • 1.07 kB
TypeScript
import * as PReact from "./preact-shim.ts";
import { IconProps } from "./icon.tsx";
import { VertexProps } from "./vertex.tsx";
export interface IVertex4Annotation extends IconProps {
shapeOffsetX?: number;
shapeOffsetY?: number;
}
export interface IVertex4 extends VertexProps {
textboxStrokeWidth?: number;
annotations?: IVertex4Annotation[];
iconAnnotations?: IVertex4Annotation[];
annotationGutter?: number;
cornerRadius?: number;
subText?: any;
noLabelRadius?: number;
iconBorderWidth?: number;
iconBorderColor?: string;
iconBackgroundColor?: string;
shapeOffsetX?: number;
shapeOffsetY?: number;
iconOffsetX?: number;
iconOffsetY?: number;
iconPadding?: number;
iconFontSize?: number;
iconFontColor?: string;
iconFontFamily?: string;
iconText?: string;
shapeRendering?: "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision";
}
export declare const Vertex4: PReact.FunctionComponent<IVertex4>;
export declare const CentroidVertex4: PReact.FunctionComponent<IVertex4>;