Interface IShapeItemData
A structure defining common shape parameters and parameters of SVG images imported in the Shape mode.
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 |
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 |
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 |
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. |