@flashport/flashport
Version:
FlashPort is a TypeScript 2D graphics library that largely replicates the Flash ActionScript 3.0 library
16 lines (15 loc) • 633 B
TypeScript
import { IGraphicsFill } from "./IGraphicsFill";
import { IGraphicsData } from "./IGraphicsData";
import { ColorTransform } from "../geom/ColorTransform";
import { Matrix } from "../geom/Matrix";
import { Canvas, Paint, Path } from "canvaskit-wasm";
export declare class GraphicsEndFill extends Object implements IGraphicsFill, IGraphicsData {
paint: Paint;
path: Path;
fill: IGraphicsFill;
graphicType: string;
_worldMatrix: Matrix;
constructor();
draw(ctx: CanvasRenderingContext2D, colorTransform: ColorTransform): void;
skiaDraw(ctx: Canvas, colorTransform: ColorTransform, mat?: Matrix): void;
}