cupertino-files / Stroke
Interface: Stroke
Defined in: src/tsd/style.ts:292
Properties
cap?
optionalcap?:number
Defined in: src/tsd/style.ts:296
color?
optionalcolor?:Color
Defined in: src/tsd/style.ts:293
join?
optionaljoin?:number
Defined in: src/tsd/style.ts:297
pattern?
optionalpattern?:number[] |"none"|"solid"|"short-dashed"|"dashed"|"long-dashed"|"dotted"
Defined in: src/tsd/style.ts:311
"solid", "none", one of the apps' four dash presets, or dash lengths in points. The presets are the dashed items of Pages' Borders & Rules line-style menu as the app writes them at any width: "short-dashed" is [1, 1], "dashed" [2, 2] and "long-dashed" [6, 6], all with butt caps and miter joins, and "dotted" is [0.001, 2] with round caps and round joins. The menu's other items are two solid lines (round and butt caps) and five brush strokes named in a smart-stroke archive, which this library does not write. The corpus's shape outlines and chart gridlines use the dashed and dotted shapes too, the dotted one with miter joins there. Any other array draws, but the Format sidebar reports its line style as None.
width?
optionalwidth?:number
Defined in: src/tsd/style.ts:295
Points.