Contents

init(centered:stroke:)

Creates an axis grid line with the given properties.

Declaration

nonisolated init(centered: Bool? = nil, stroke: StrokeStyle? = nil)

Parameters

  • centered:

    Whether to center the grid line between two axis values.

  • stroke:

    The stroke style of the grid line.