ThemeShapes
public struct ThemeShapes
Undocumented
-
A shape style with 4 same-sized corners smaller than ThemeShapes.sm.
Declaration
Swift
public let xs: RoundedRectangle -
A shape style with 4 same-sized corners bigger than ThemeShapes.xs.
Declaration
Swift
public let sm: RoundedRectangle -
A shape style with 4 same-sized corners bigger than ThemeShapes.sm.
Declaration
Swift
public let md: RoundedRectangle -
A shape style with 4 same-sized corners bigger than ThemeShapes.md.
Declaration
Swift
public let lg: RoundedRectangle -
A shape style with 4 same-sized corners bigger than ThemeShapes.lg.
Declaration
Swift
public let xl: RoundedRectangle -
Undocumented
Declaration
Swift
public static let defaultLight: ThemeShapes -
Undocumented
Declaration
Swift
public static let defaultDark: ThemeShapes -
Undocumented
Declaration
Swift
public init(xs: RoundedRectangle, sm: RoundedRectangle, md: RoundedRectangle, lg: RoundedRectangle, xl: RoundedRectangle) -
Returns a new
ThemeShapesinstance by copying the current one and applying the specified overrides.Only parameters you pass will be changed — others will retain existing values.
Declaration
Swift
func copy( xs: RoundedRectangle? = nil, sm: RoundedRectangle? = nil, md: RoundedRectangle? = nil, lg: RoundedRectangle? = nil, xl: RoundedRectangle? = nil ) -> ThemeShapes