svg-engine
Version:
Create SVG files in Node.js
12 lines (11 loc) • 508 B
TypeScript
import { SVGInstance } from "../../../browser/instance/SVGInstance.js";
export declare class Font extends SVGInstance {
fontFamily(): string | null;
fontFamily(fontFamily: string): this;
fontSize(): string | number | null;
fontSize(fontSize: string | number): this;
fontStyle(): string | null;
fontStyle(fontStyle: "normal" | "italic" | "oblique"): this;
fontWeight(): string | number | null;
fontWeight(fontWeight: "normal" | "bold" | "bolder" | "lighter" | number): this;
}