Surface.RescaleGamma

class RescaleGamma

Controls the gamma that rescaling occurs in for Surface.asyncRescaleAndReadPixels() and Surface.asyncRescaleAndReadPixelsYUV420().

Members:

kSrc

kLinear

Methods

__init__

__init__(self: skia.Surface.RescaleGamma, value: bool) -> None

Attributes

kLinear

kSrc

name

value

Methods

RescaleGamma.__init__(self: skia.Surface.RescaleGamma, value: bool) None

__init__(self: skia.Surface.RescaleGamma, value: bool) -> None

Attributes

RescaleGamma.kLinear = <RescaleGamma.kLinear: 1>
RescaleGamma.kSrc = <RescaleGamma.kSrc: 0>
RescaleGamma.name
RescaleGamma.value