import { IAutoEasingMethod, Vec } from "../../../math"; import { ILayerMaterialOptions, IShaderInitialization } from "../../../types"; import { ILayer2DProps, Layer2D } from "../../view/layer-2d"; import { RectangleInstance } from "./rectangle-instance"; export interface IRectangleLayerProps extends ILayer2DProps { animate?: { color?: IAutoEasingMethod; location?: IAutoEasingMethod; }; /** Scale factor determining the scale size of the rectangle */ scaleFactor?(): number; } /** * This layer displays Rectangles and provides as many controls as possible for displaying * them in interesting ways. */ export declare class RectangleLayer> extends Layer2D { static defaultProps: IRectangleLayerProps; static attributeNames: { anchor: string; color: string; depth: string; location: string; maxScale: string; scale: string; scaling: string; size: string; }; /** * Define our shader and it's inputs */ initShader(): IShaderInitialization; getMaterialOptions(): ILayerMaterialOptions; }