Declaration

var opacity: CGFloat { get set }

Declaration

@property (nonatomic, assign) CGFloat opacity;

Declaration

opacity() -> float
setOpacity_(opacity: float)

Discussion

Values range from 0 for fully transparent to 1 for fully opaque. Values outside this range are clamped. The default is 1.

See Also

Compositing