svg-engine
Version:
Create SVG files in Node.js
14 lines (13 loc) • 474 B
TypeScript
import { SVGInstance } from "../../../browser/instance/SVGInstance.js";
export declare class Fill extends SVGInstance {
fill(): string | null;
fill(fill: string): this;
fillOpacity(): number | null;
fillOpacity(fillOpacity: number): this;
fillRule(): string | null;
fillRule(fillRule: "nonzero" | "evenodd"): this;
fillLinearGradient(gradient: Array<{
position: number | string;
color: string;
}>, rotation?: number): this;
}