SpreadJS Documentation
ConnectorShape Constructor
GC.Spread.Sheets.Shapes Namespace > ConnectorShape type : ConnectorShape Constructor
The host sheet of the shape.
The name of shape.
The type of the connector shape.
The x location of the start point for the connector shape.
The y location of the start point for the connector shape.
The x location of the end point for the connector shape.
The y location of the end point for the connector shape.
Represents a ConnectorShape.
Syntax
var instance = new GC.Spread.Sheets.Shapes.ConnectorShape(worksheet, name, connectorType, beginX, beginY, endX, endY);
function ConnectorShape( 
   worksheet : Worksheet,
   name : string,
   connectorType : ConnectorType,
   beginX : number,
   beginY : number,
   endX : number,
   endY : number
) : ConnectorShape;

Parameters

worksheet
The host sheet of the shape.
name
The name of shape.
connectorType
The type of the connector shape.
beginX
The x location of the start point for the connector shape.
beginY
The y location of the start point for the connector shape.
endX
The x location of the end point for the connector shape.
endY
The y location of the end point for the connector shape.
See Also

Reference

ConnectorShape type