@aurigma/design-atoms-interfaces
Version:
30 lines (29 loc) • 944 B
TypeScript
import { IShapeItemData } from "./IShapeItemData";
/**
* A structure defining the default parameters of rectangles.
* @remarks You can apply these parameters to the `rectangle` object through either **clientConfig.json** or {@link https://customerscanvas.com/dev/editors/iframe-api/reference/design-editor-iframe/iconfiguration.html|IConfiguration}.
* @example
* ```json
* {
* "defaultItemsConfig": {
* "rectangle": {
* "borderWidth": 2,
* "borderColor": "rgba(155,0,0,0.55)",
* "fillColor": "cmyk(0%, 0%, 0%, 100%, 100%)",
* "shapePermissions": {
* "allowChangeBorderWidth": false
* },
* "location": {
* "originX": "center",
* "originY": "center",
* "x": "5%",
* "y": "5%"
* }
* }
* }
* }
* ```
* @public
*/
export interface IRectangleItemData extends IShapeItemData {
}