Stroke

public struct Stroke
extension Stroke: CustomStringConvertible

Configuration for the stroke of Shape.

Nested Types

Instance Properties

  • Width.

    Declaration

    Swift

    public let width: Double
  • Color.

    Declaration

    Swift

    public let color: Color
  • Join.

    Declaration

    Swift

    public let join: Join
  • cap

    Cap.

    Declaration

    Swift

    public let cap: Cap
  • Dashes.

    Declaration

    Swift

    public let dashes: Dashes?

Initializers