@sheetkit/node / JsShapeConfig
Interface: JsShapeConfig
Defined in: binding.d.ts:873
Configuration for inserting a shape into a worksheet.
Properties
fillColor?
optionalfillColor:string
Defined in: binding.d.ts:883
Optional fill color as a hex string (e.g., "4472C4").
fromCell
fromCell:
string
Defined in: binding.d.ts:877
Top-left anchor cell (e.g., "B2").
lineColor?
optionallineColor:string
Defined in: binding.d.ts:885
Optional line/border color as a hex string (e.g., "2F528F").
lineWidth?
optionallineWidth:number
Defined in: binding.d.ts:887
Optional line width in points.
shapeType
shapeType:
string
Defined in: binding.d.ts:875
Shape type string (e.g., "rect", "ellipse", "roundRect", "diamond").
text?
optionaltext:string
Defined in: binding.d.ts:881
Optional text content displayed inside the shape.
toCell
toCell:
string
Defined in: binding.d.ts:879
Bottom-right anchor cell (e.g., "F10").