Declaration
compose().opacity(opacity: number)func opacity(_ opacity: Double) -> ColorParameters
opacity*numberThe amount by which to multiply the opacity of the color.
Return value
A view with modified opacity.
See also
More in Color modifiers.
compose().opacity(opacity: number)func opacity(_ opacity: Double) -> Coloropacity*numberThe amount by which to multiply the opacity of the color.
A view with modified opacity.
More in Color modifiers.