SpreadJS 13
GC.Spread.Sheets.Shapes Namespace / Shape type / adjustments Method
The adjustment values in array.
In This Topic
    adjustments Method
    In This Topic
    Gets or sets the adjustment values of the shape.
    Syntax
    var instance = new GC.Spread.Sheets.Shapes.Shape(worksheet, name, autoShapeTypeOrModel, left, top, width, height);
    var value; // Type: any
    value = instance.adjustments(arrayValue);
    function adjustments( 
       arrayValue : undefined
    ) : any;

    Parameters

    arrayValue
    The adjustment values in array.
    Example
    var blockArc = sheet.shapes.add("", GC.Spread.Sheets.Shapes.AutoShapeType.blockArc, 100, 60, 200, 160);
    var adjustments = blockArc.adjustments();
    console.log(adjustments);
    adjustments[0] = 150;
    adjustments[1] = 15;
    adjustments[2] = 0.35;
    blockArc.adjustments(adjustments);
    blockArc.isSelected(true);
    See Also

    Reference

    Shape type