getFont
Home > @anocca/sequence-viewer-utils > getFont
Creates a font string based on fontSize and fontWeight
Signature:
export declare function getFont(size: number, weight?: 'normal' | 'bold' | number): string;
Parameters
| Parameter | Type | Description |
|---|---|---|
| size | number | |
| weight | 'normal' | 'bold' | number |
Returns:
string