Package org.gnome.gdkpixbuf
Enum Class PixbufAlphaMode
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<PixbufAlphaMode>
,Constable
@Generated("io.github.jwharm.JavaGI")
@Deprecated
public enum PixbufAlphaMode
extends Enum<PixbufAlphaMode>
implements Enumeration
Deprecated.
Control the alpha channel for drawables.
These values can be passed to gdk_pixbuf_xlib_render_to_drawable_alpha() in gdk-pixbuf-xlib to control how the alpha channel of an image should be handled.
This function can create a bilevel clipping mask (black and white) and use it while painting the image.
In the future, when the X Window System gets an alpha channel extension, it will be possible to do full alpha compositing onto arbitrary drawables. For now both cases fall back to a bilevel clipping mask.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Deprecated.Get the GType of the PixbufAlphaMode classint
getValue()
Deprecated.Get the numeric value of this enumstatic PixbufAlphaMode
of
(int value) Deprecated.Create a new PixbufAlphaMode for the provided valuestatic PixbufAlphaMode
Deprecated.Returns the enum constant of this class with the specified name.static PixbufAlphaMode[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BILEVEL
Deprecated.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. -
FULL
Deprecated.For now falls back toGDK_PIXBUF_ALPHA_BILEVEL
. In the future it will do full alpha compositing.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Deprecated.Create a new PixbufAlphaMode for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Deprecated.Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-
getType
Deprecated.Get the GType of the PixbufAlphaMode class- Returns:
- the GType
-