S or /

SourceClass SamplingOptions

from skia import SamplingOptions
class SamplingOptions:

Properties§

@property def cubic(self, /) -> CubicResampler§
@cubic.setter def cubic(self, /, value: CubicResampler) -> None§
@property def filter(self, /) -> FilterMode§
@filter.setter def filter(self, /, value: FilterMode) -> None§
@property def max_aniso(self, /) -> int§
@max_aniso.setter def max_aniso(self, /, value: int) -> None§
@property def mipmap(self, /) -> MipmapMode§
@mipmap.setter def mipmap(self, /, value: MipmapMode) -> None§
@property def use_cubic(self, /) -> bool§
@use_cubic.setter def use_cubic(self, /, value: bool) -> None§

Methods§

Source@staticmethod def from_aniso(max_aniso: int) -> SamplingOptions§