LinePreferences
public struct LinePreferences
Line Preferences
-
Stroke height, default value is
1Declaration
Swift
public var height: CGFloat -
Stroke color type
Declaration
Swift
public var colorType: SFWConfiguration.ColorType -
Vertical offset in slice from the center
Declaration
Swift
public var verticalOffset: CGFloat -
Initiates a line preferences
Declaration
Swift
public init(colorType: SFWConfiguration.ColorType, height: CGFloat = 1, verticalOffset: CGFloat = 0)Parameters
colorTypeLine color type
heightStroke height, default value is
1verticalOffsetVertical offset in slice from the center, default value is
0 -
Undocumented
Declaration
Swift
func strokeColor(for index: Int) -> SFWColor
LinePreferences Structure Reference