Back to Website
Show / Hide Table of Contents

Interface IShapeItemData

A structure defining common shape parameters and parameters of SVG images imported in the Shape mode.

Inheritance
IItemData
IShapeItemData
Package: @aurigma/design-atoms-interfaces
Examples
{
   "defaultItemsConfig": {
       "shape": {
           "borderWidth": 2,
           "fillColor": "cmyk(0%, 0%, 0%, 25%, 100%)",
           "shapePermissions": {
               "allowChangeBorderWidth": false
           },
           "location": {
               "x": "100%", "y": "100%",
               "originX": "right",
               "originY": "bottom"
           }
       }
   }
}

Properties

borderColor

The border color. The default value is "rgba(0,0,0,1)".

Declaration
borderColor?: string;
Property Value
Type Description
string

The border color. The default value is "rgba(0,0,0,1)".

borderWidth

The border width, in points. The default value is 1.

Declaration
borderWidth?: number;
Property Value
Type Description
number

The border width, in points. The default value is 1.

fillColor

The fill color for shapes and placeholders. The default value is "rgba(112,112,112,1)" for shapes and is "rgba(0,0,0,0)" for image placeholders.

Declaration
fillColor?: string;
Property Value
Type Description
string

The fill color for shapes and placeholders. The default value is "rgba(112,112,112,1)" for shapes and is "rgba(0,0,0,0)" for image placeholders.

overprintFill

Declaration
overprintFill?: boolean;
Property Value
Type Description
boolean

overprintStroke

Declaration
overprintStroke?: boolean;
Property Value
Type Description
boolean

shapePermissions

Defines permissions for shapes.

Declaration
shapePermissions?: IShapePermissionsData;
Property Value
Type Description
IShapePermissionsData

Defines permissions for shapes.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback