all these changes

This commit is contained in:
Jake Kasper
2026-04-09 13:19:47 -05:00
parent e83a51a051
commit 65315f36d1
39102 changed files with 7932979 additions and 567 deletions

View File

@@ -0,0 +1,17 @@
import { RenderingContext2D } from '../types';
import Property from '../Property';
import Document from './Document';
import Element from './Element';
import PathElement from './PathElement';
import StopElement from './StopElement';
export default abstract class GradientElement extends Element {
readonly attributesToInherit: string[];
protected readonly stops: StopElement[];
constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
abstract getGradient(ctx: RenderingContext2D, element: PathElement): CanvasGradient;
getGradientUnits(): string;
createGradient(ctx: RenderingContext2D, element: any, parentOpacityProp: Property): string | CanvasGradient | CanvasPattern;
protected inheritStopContainer(stopsContainer: Element): void;
protected addParentOpacity(parentOpacityProp: Property, color: string): string;
}
//# sourceMappingURL=GradientElement.d.ts.map