Surface.RescaleGamma

class RescaleGamma

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

Members:

kSrc

kLinear

Methods

__init__

Attributes

kLinear

kSrc

name

value

Methods

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

Attributes

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