ReadonlyalignmentOptional ReadonlydashSee StrokeStyle.dash; a copy of the authored pattern.
ReadonlydashReadonlylineSee StrokeStyle.lineCap.
ReadonlylineSee StrokeStyle.lineJoin.
ReadonlymiterOptional ReadonlypaintSee StrokeStyle.paint.
ReadonlywidthSee StrokeStyle.width.
A StrokeStyle with every optional field except
paintanddashresolved — what a shape stores and hands back (see ResolvedPaint for why the accessor has two types).paintanddashstay optional because their absence means something — no paint of its own, and a solid rather than a dashed band — rather than standing in for a default value.