LineShape

@MainActor
public struct LineShape : Shape

线条形状,用于分割线、虚线等。自定义路径形状:Path { (path) in … } 常用分割线:Rectangle.foregroundColor替代Divider组件

  • Undocumented

    Declaration

    Swift

    @MainActor
    public var axes: Axis.Set
  • Declaration

    Swift

    public func path(in rect: CGRect) -> Path