opacity(_:)
Multiplies the opacity of the color by the given amount.
Declaration
func opacity(_ opacity: Double) -> ColorParameters
- opacity:
The amount by which to multiply the opacity of the color.
Return Value
A view with modified opacity.
Multiplies the opacity of the color by the given amount.
func opacity(_ opacity: Double) -> ColorThe amount by which to multiply the opacity of the color.
A view with modified opacity.