Skip to content

@sheetkit/node / JsShapeConfig

Interface: JsShapeConfig

Defined in: binding.d.ts:949

Configuration for inserting a shape into a worksheet.

Properties

fillColor?

optional fillColor: string

Defined in: binding.d.ts:959

Optional fill color as a hex string (e.g., "4472C4").


fromCell

fromCell: string

Defined in: binding.d.ts:953

Top-left anchor cell (e.g., "B2").


lineColor?

optional lineColor: string

Defined in: binding.d.ts:961

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


lineWidth?

optional lineWidth: number

Defined in: binding.d.ts:963

Optional line width in points.


shapeType

shapeType: string

Defined in: binding.d.ts:951

Shape type string (e.g., "rect", "ellipse", "roundRect", "diamond").


text?

optional text: string

Defined in: binding.d.ts:957

Optional text content displayed inside the shape.


toCell

toCell: string

Defined in: binding.d.ts:955

Bottom-right anchor cell (e.g., "F10").

Released under the MIT / Apache-2.0 License.