-
Cast constructor, converting any binary integer to a
PixbufAlphaMode
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
A bilevel clipping mask (black and white) will be created and used to draw the image. Pixels below 0.5 opacity will be considered fully transparent, and all others will be considered fully opaque.
Declaration
Swift
static let bilevel: GdkPixbufAlphaMode
-
For now falls back to
GDK_PIXBUF_ALPHA_BILEVEL
. In the future it will do full alpha compositing.Declaration
Swift
static let full: GdkPixbufAlphaMode