Instance Method インスタンスメソッド

opacity(_:)

Multiplies the opacity of the color by the given amount.

Declaration 宣言

func opacity(_ opacity: Double) -> Color

Return Value 戻り値

A view with modified opacity.

Parameters パラメータ

opacity

The amount by which to multiply the opacity of the color.