Skip to main content
StrokePaintStyle
Basic style definition for an edge
NameTypeDescription
dashArray?stringDefinition for stroke pattern
fill?stringFill color for the edge.
gradient?Array<[number, string]>Definition of a linear gradient to apply. Each entry is [offset, color].
stroke?stringStroke color for the edge
strokeWidth?numberWidth of the stroke