MCPcopy Create free account
hub / github.com/microsoft/TypeChat / stroke

Function stroke

typescript/examples/drawing/src/render.ts:23–25  ·  view source on GitHub ↗
(style?: Style)

Source from the content-addressed store, hash-verified

21}
22
23function stroke(style?: Style): string {
24 return style?.lineColor ?? "black";
25}
26
27function strokeWidth(style?: Style): number {
28 return style?.lineThickness ?? 1;

Callers 3

renderBoxFunction · 0.85
renderEllipseFunction · 0.85
renderArrowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…