SpreadJS 13
GC.Spread.Sheets.Shapes Namespace / ConnectorShape type / adjustments Method
The adjustment values in array.
In This Topic
    adjustments Method
    In This Topic
    Gets or sets the adjustment values of the connector shape.
    Syntax
    var instance = new GC.Spread.Sheets.Shapes.ConnectorShape(worksheet, name, connectorType, beginX, beginY, endX, endY);
    var value; // Type: any
    value = instance.adjustments(arrayValue);
    function adjustments( 
       arrayValue : undefined
    ) : any;

    Parameters

    arrayValue
    The adjustment values in array.
    Example
    var myConnector = sheet.shapes.addConnector("myConnector", GC.Spread.Sheets.Shapes.ConnectorType.elbow, 50, 50, 200, 500);
    var adjustments = myConnector.adjustments();
    console.log(adjustments);
    adjustments = [-0.8];
    myConnector.adjustments(adjustments);
    See Also