Select to view content in your preferred language

CIMBackgroundCallout Margin in CIMTextSymbol is not working

131
0
2 weeks ago
AhamdJallad
New Contributor

Hello,

Setting the margin properties of the callout doesn't seem to affect the symbol as expected. I am working on verison 4.28

the following is the the object that assigned to  CIMTextSymbol

    const callout = {
        type: "CIMBackgroundCallout",
        backgroundSymbol: {
            type: "CIMPolygonSymbol",
            symbolLayers: [{
                type: "CIMSolidFill",
                enable: true,
                color: [0, 0, 0, 255]
            }],
        },
        margin: {
            left: 0,
            top: 0,
            right: 0,
            bottom: 0
        },
        cornerRounding: {
            type: "None"
        }
    }
 
Thanks in advance
Tags (1)
0 Kudos
0 Replies