Skip to content

@sheetkit/node / JsShapeConfig

Interface: JsShapeConfig

Defined in: binding.d.ts:958

Configuration for inserting a shape into a worksheet.

Properties

fillColor?

optional fillColor: string

Defined in: binding.d.ts:968

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


fromCell

fromCell: string

Defined in: binding.d.ts:962

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


lineColor?

optional lineColor: string

Defined in: binding.d.ts:970

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


lineWidth?

optional lineWidth: number

Defined in: binding.d.ts:972

Optional line width in points.


shapeType

shapeType: string

Defined in: binding.d.ts:960

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


text?

optional text: string

Defined in: binding.d.ts:966

Optional text content displayed inside the shape.


toCell

toCell: string

Defined in: binding.d.ts:964

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

Released under the MIT / Apache-2.0 License.