V1_commit_RGC
This commit is contained in:
17
SuiviREForamteur/node_modules/canvg/lib/Document/GradientElement.d.ts
generated
vendored
Normal file
17
SuiviREForamteur/node_modules/canvg/lib/Document/GradientElement.d.ts
generated
vendored
Normal 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
|
||||
Reference in New Issue
Block a user