ColorChannelFlag
- class ColorChannelFlag
Used to represent the channels available in a color type or texture format as a mask.
Members:
kRed_ColorChannelFlag
kGreen_ColorChannelFlag
kBlue_ColorChannelFlag
kAlpha_ColorChannelFlag
kGray_ColorChannelFlag
kRG_ColorChannelFlags
kRGB_ColorChannelFlags
kRGBA_ColorChannelFlags
Methods
Attributes
Methods
- ColorChannelFlag.__init__(self: skia.ColorChannelFlag, value: int) None
Attributes
- ColorChannelFlag.kAlpha_ColorChannelFlag = <ColorChannelFlag.kAlpha_ColorChannelFlag: 8>
- ColorChannelFlag.kBlue_ColorChannelFlag = <ColorChannelFlag.kBlue_ColorChannelFlag: 4>
- ColorChannelFlag.kGray_ColorChannelFlag = <ColorChannelFlag.kGray_ColorChannelFlag: 16>
- ColorChannelFlag.kGreen_ColorChannelFlag = <ColorChannelFlag.kGreen_ColorChannelFlag: 2>
- ColorChannelFlag.kRGBA_ColorChannelFlags = <ColorChannelFlag.kRGBA_ColorChannelFlags: 15>
- ColorChannelFlag.kRGB_ColorChannelFlags = <ColorChannelFlag.kRGB_ColorChannelFlags: 7>
- ColorChannelFlag.kRG_ColorChannelFlags = <ColorChannelFlag.kRG_ColorChannelFlags: 3>
- ColorChannelFlag.kRed_ColorChannelFlag = <ColorChannelFlag.kRed_ColorChannelFlag: 1>
- ColorChannelFlag.name
- ColorChannelFlag.value