heightBased(_:yRange:)

Height (Y) based style with gradient and Y range.

Declaration

static func heightBased(_ gradient: Gradient, yRange: ClosedRange<CGFloat>? = nil) -> Self