init
TypeScriptstatic init(centered?: (boolean) | null, stroke?: (_SwiftUICore_StrokeStyle) | null): AxisGridLineSwift declarationnonisolated init(centered: Bool? = nil, stroke: StrokeStyle? = nil)Creates an axis grid line with the given properties. - Parameters: - centered: Whether to center the grid line between two axis values. - stroke: The stroke style of the grid line.