Skip to content

@sheetkit/node / JsShapeConfig

Interface: JsShapeConfig

Defined in: binding.d.ts:873

Configuration for inserting a shape into a worksheet.

Properties

fillColor?

optional fillColor: 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?

optional lineColor: string

Defined in: binding.d.ts:885

Optional line/border color as a hex string (e.g., "2F528F").


lineWidth?

optional lineWidth: 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?

optional text: 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").

Released under the MIT / Apache-2.0 License.