import Painter from "./painter"; import { Point, Shape } from "./base/shape"; import Vector from "./vector"; declare class Material { A: Point; points: Array; _color: Array; _color_key: number; opacity: number; constructor(points: Array); update(paint: Painter, position: Vector, shape: Shape): void; draw(paint: Painter, position: Vector): void; } declare class Styles { static _colors: Array>; /** * @param {Array} colors * @description 自定义颜色转换 */ static setColors(colors: Array | string>): void; static get RandomColor(): { key: number; color: number[]; }; static rgba(color: Array): string; } export { Styles, }; export default Material; //# sourceMappingURL=material.d.ts.map