Contents

init(floatLiteral:)

Creates an opacity object using a single value.

Declaration

init(floatLiteral value: Float)

Parameters

  • value:

    The opacity value.

See Also

Creating an opacity object