main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
934 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | import { RenderingContext2D } from '../types';
|
---|
| 2 | import Property from '../Property';
|
---|
| 3 | import Document from './Document';
|
---|
| 4 | import Element from './Element';
|
---|
| 5 | import PathElement from './PathElement';
|
---|
| 6 | import StopElement from './StopElement';
|
---|
| 7 | export default abstract class GradientElement extends Element {
|
---|
| 8 | readonly attributesToInherit: string[];
|
---|
| 9 | protected readonly stops: StopElement[];
|
---|
| 10 | constructor(document: Document, node: HTMLElement, captureTextNodes?: boolean);
|
---|
| 11 | abstract getGradient(ctx: RenderingContext2D, element: PathElement): CanvasGradient;
|
---|
| 12 | getGradientUnits(): string;
|
---|
| 13 | createGradient(ctx: RenderingContext2D, element: any, parentOpacityProp: Property): string | CanvasGradient | CanvasPattern;
|
---|
| 14 | protected inheritStopContainer(stopsContainer: Element): void;
|
---|
| 15 | protected addParentOpacity(parentOpacityProp: Property, color: string): string;
|
---|
| 16 | }
|
---|
| 17 | //# sourceMappingURL=GradientElement.d.ts.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.