Back to Website
Show / Hide Table of Contents

Interface IRectangleItemData

A structure defining the default parameters of rectangles.

Inheritance
IItemData
IShapeItemData
IRectangleItemData
Package: @aurigma/design-atoms-interfaces
Remarks

You can apply these parameters to the rectangle object through either **clientConfig.json** or IConfiguration.

Examples
{
   "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%"
           }
       }
   }
}
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