GrColorType

class GrColorType

Members:

kUnknown

kAlpha_8

kBGR_565

kABGR_4444

kRGBA_8888

kRGBA_8888_SRGB

kRGB_888x

kRG_88

kBGRA_8888

kRGBA_1010102

kGray_8

kAlpha_F16

kRGBA_F16

kRGBA_F16_Clamped

kRGBA_F32

kAlpha_16

kRG_1616

kRG_F16

kRGBA_16161616

kAlpha_8xxx

kAlpha_F32xxx

kGray_8xxx

kRGB_888

kR_8

kR_16

kR_F16

kGray_F16

kLast

Methods

__init__

Attributes

kABGR_4444

kAlpha_16

kAlpha_8

kAlpha_8xxx

kAlpha_F16

kAlpha_F32xxx

kBGRA_8888

kBGR_565

kGray_8

kGray_8xxx

kGray_F16

kLast

kRGBA_1010102

kRGBA_16161616

kRGBA_8888

kRGBA_8888_SRGB

kRGBA_F16

kRGBA_F16_Clamped

kRGBA_F32

kRGB_888

kRGB_888x

kRG_1616

kRG_88

kRG_F16

kR_16

kR_8

kR_F16

kUnknown

name

value

Methods

GrColorType.__init__(self: skia.GrColorType, value: int) None

Attributes

GrColorType.kABGR_4444 = <GrColorType.kABGR_4444: 4>
GrColorType.kAlpha_16 = <GrColorType.kAlpha_16: 21>
GrColorType.kAlpha_8 = <GrColorType.kAlpha_8: 1>
GrColorType.kAlpha_8xxx = <GrColorType.kAlpha_8xxx: 25>
GrColorType.kAlpha_F16 = <GrColorType.kAlpha_F16: 16>
GrColorType.kAlpha_F32xxx = <GrColorType.kAlpha_F32xxx: 26>
GrColorType.kBGRA_8888 = <GrColorType.kBGRA_8888: 9>
GrColorType.kBGR_565 = <GrColorType.kBGR_565: 2>
GrColorType.kGray_8 = <GrColorType.kGray_8: 14>
GrColorType.kGray_8xxx = <GrColorType.kGray_8xxx: 27>
GrColorType.kGray_F16 = <GrColorType.kGray_F16: 33>
GrColorType.kLast = <GrColorType.kLast: 35>
GrColorType.kRGBA_1010102 = <GrColorType.kRGBA_1010102: 10>
GrColorType.kRGBA_16161616 = <GrColorType.kRGBA_16161616: 24>
GrColorType.kRGBA_8888 = <GrColorType.kRGBA_8888: 5>
GrColorType.kRGBA_8888_SRGB = <GrColorType.kRGBA_8888_SRGB: 6>
GrColorType.kRGBA_F16 = <GrColorType.kRGBA_F16: 17>
GrColorType.kRGBA_F16_Clamped = <GrColorType.kRGBA_F16_Clamped: 19>
GrColorType.kRGBA_F32 = <GrColorType.kRGBA_F32: 20>
GrColorType.kRGB_888 = <GrColorType.kRGB_888: 29>
GrColorType.kRGB_888x = <GrColorType.kRGB_888x: 7>
GrColorType.kRG_1616 = <GrColorType.kRG_1616: 22>
GrColorType.kRG_88 = <GrColorType.kRG_88: 8>
GrColorType.kRG_F16 = <GrColorType.kRG_F16: 23>
GrColorType.kR_16 = <GrColorType.kR_16: 31>
GrColorType.kR_8 = <GrColorType.kR_8: 30>
GrColorType.kR_F16 = <GrColorType.kR_F16: 32>
GrColorType.kUnknown = <GrColorType.kUnknown: 0>
GrColorType.name
GrColorType.value