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__

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

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

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

Attributes

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