API REFERENCE

WordCloudResolvedWord

The WordCloudResolvedWord type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface WordCloudResolvedWord {
  readonly index: number;
  readonly id: string;
  readonly name: string;
  readonly weight: number;
  readonly color: string;
  readonly rotation?: number;
  readonly visible: boolean;
}