Contents

isOpaque

A Boolean value that indicates whether the alpha channel of the image is fully opaque.

Declaration

@MainActor final var isOpaque: Bool { get set }

Discussion

Setting this value to true, meaning the alpha channel is opaque, may improve performance. Don’t render non-opaque pixels to a renderer declared as opaque. This property defaults to false.

See Also

Accessing renderer properties