Skip to main content
PaintStyle
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].
outlineStroke?stringColor for the outline path
outlineWidth?numberWidth of the outline path
stroke?stringStroke color for the edge
strokeWidth?numberWidth of the stroke