class RoleLabel { name: string; // the display name of this role w: number; // the display width h: number; // the display height cx: number; // the display x center coordinate lineIndex: number; // the line number at which this role is rendered elevation: number; // How many levels above to display this label constructor(name: string, w:number, h:number, cx:number, lineIndex:number, elevation:number) { this.name = name; this.w = w; this.h = h; this.cx = cx; this.lineIndex = lineIndex; this.elevation = elevation; } } export default RoleLabel;