AnyShapeStyle

public struct AnyShapeStyle

A type-erased ShapeStyle

  • store the solid ShapeStyle

    Declaration

    Swift

    public let base: Any
  • Create an instance that type-erases ShapeStyle

    Declaration

    Swift

    public init(_ base: some ShapeStyle)