SurfaceProps

class SurfaceProps

Describes properties and constraints of a given Surface.

The rendering engine can parse these during drawing, and can sometimes optimize its performance (e.g. disabling an expensive feature).

Classes

Flags

Members:

Methods

__init__

Overloaded function.

flags

isUseDeviceIndependentFonts

pixelGeometry

Attributes

kUseDeviceIndependentFonts_Flag

Methods

SurfaceProps.__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: skia.SurfaceProps, flags: int, geometry: skia.PixelGeometry) -> None

  2. __init__(self: skia.SurfaceProps, props: skia.SurfaceProps) -> None

SurfaceProps.flags(self: skia.SurfaceProps) int
SurfaceProps.isUseDeviceIndependentFonts(self: skia.SurfaceProps) bool
SurfaceProps.pixelGeometry(self: skia.SurfaceProps) skia.PixelGeometry

Attributes

SurfaceProps.kUseDeviceIndependentFonts_Flag = <Flags.kUseDeviceIndependentFonts_Flag: 1>