artistic-engine
Version:
General purpose html5 canvas rendering game engine
22 lines (21 loc) • 585 B
TypeScript
export default class FontBuilder {
private family;
private style;
private variant;
private weight;
private size;
private lineHeight;
constructor(family?: string);
get Family(): string;
get Style(): string;
get Variant(): string;
get Weight(): string;
get Size(): string;
get LineHeight(): string;
setStyle(style: string): this;
setVariant(variant: string): this;
setWeight(weight: string): this;
setSize(size: string): this;
setLineHeight(lineHeight: string): this;
toString(): string;
}