import type { Circle } from '../geom/circle.js'; import type { Ellipse } from '../geom/ellipse.js'; import type { Polygon } from '../geom/polygon.js'; import type { Rectangle } from '../geom/rectangle.js'; import type { RoundedRectangle } from '../geom/rounded_rectangle.js'; /** The geometry a graphics path can be built from. */ export type GraphicsShape = Circle | Ellipse | Polygon | Rectangle | RoundedRectangle; export declare class GraphicsData { lineWidth: number; lineColor: number; lineAlpha: number; _lineTint: number; fillColor: number | null; fillAlpha: number; _fillTint: number | null; fill: boolean; shape: GraphicsShape; type: number; /** Flattened points the WebGL builders work from, filled in while updating the graphics. */ points: number[]; /** * Creates a new GraphicsData object. * @param {number} lineWidth - The line width. * @param {number} lineColor - The line color. * @param {number} lineAlpha - The line alpha. * @param {number} fillColor - The fill color. * @param {number} fillAlpha - The fill alpha. * @param {boolean} fill - Whether to fill the shape. * @param {object} shape - The shape to draw. */ constructor(lineWidth: number, lineColor: number, lineAlpha: number, fillColor: number | null, fillAlpha: number, fill: boolean, shape: GraphicsShape); /** * Clones this GraphicsData object. * @returns {GraphicsData} A new cloned GraphicsData object. */ clone(): GraphicsData; } //# sourceMappingURL=graphics_data.d.ts.map