SwiftUIStarterKit Documentation

Extensions on LinearGradient

Initializers

init(_:​from:​to:​)

public init(
        _ colors: Color...,
        from startPoint: UnitPoint = .topLeading,
        to endPoint: UnitPoint = .bottomTrailing
    )