import { Fill, Stroke, StrokeCap, StrokeJoin, ValueOrKeyframes } from '../properties'; import { ElementBase, ElementProperties } from './ElementBase'; export interface ShapeProperties extends ElementProperties { /** * The fill. */ fill?: ValueOrKeyframes; /** * The fill color of the element. It may be a string or an array of color stops if fillMode is set to linear or * radial. Use the template designer to see how color stops are formatted. */ fillColor?: ValueOrKeyframes; /** * The fill method used: solid, linear, and radial. */ fillMode?: ValueOrKeyframes; /** * The start position of the gradient on the x-axis. Use with fillMode linear or radial. */ fillX0?: ValueOrKeyframes; /** * The start position of the gradient on the y-axis. Use with fillMode linear or radial. */ fillY0?: ValueOrKeyframes; /** * The end position of the gradient on the x-axis. Use with fillMode linear or radial. */ fillX1?: ValueOrKeyframes; /** * The end position of the gradient on the y-axis. Use with fillMode linear or radial. */ fillY1?: ValueOrKeyframes; /** * The radius of the radial gradient in relation to the element's max(width,height). */ fillRadius?: ValueOrKeyframes; /** * The stroke. */ stroke?: ValueOrKeyframes; /** * The stroke color of the element. */ strokeColor?: ValueOrKeyframes; /** * The size of the stroke. */ strokeWidth?: ValueOrKeyframes; /** * The stroke cap: but, square, and round. */ strokeCap?: ValueOrKeyframes; /** * The stroke join: miter, bevel, and round. */ strokeJoin?: ValueOrKeyframes; /** * The start of the stroke relative to its total length. */ strokeStart?: ValueOrKeyframes; /** * The end of the stroke relative to its total length. */ strokeEnd?: ValueOrKeyframes; /** * The offset of the stroke relative to its total length. */ strokeOffset?: ValueOrKeyframes; /** * The border radius of the element. */ borderRadius?: ValueOrKeyframes; /** * The path of a shape can be defined either using unboxed or boxed coordinates. * - In order to use the unboxed coordinate system, set the width and height to null. The path can then be expressed * as a series of coordinates that are relative to the element's x and y position. * - When you want to use boxed coordinates, define your path in relation to the width and height of the element using * coordinates from 0% to 100%. * Learn how to use the shape element by using the template editor. */ path?: ValueOrKeyframes; } export declare class Shape extends ElementBase { type: string; }