Contents

opacity(_:)

Declaration

nonisolated func opacity(_ keyPath: KeyPath<Self.DataElement, CGFloat>) -> some VectorizedChartContent<Self.DataElement>

Parameters

  • keyPath:

    Points to a value between 0 (fully transparent) and 1 (fully opaque).

See Also

Styling marks