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
Members:
Methods
Overloaded function.
Attributes
Methods
- SurfaceProps.__init__(*args, **kwargs)
Overloaded function.
__init__(self: skia.SurfaceProps) -> None
__init__(self: skia.SurfaceProps, flags: int, geometry: skia.PixelGeometry) -> None
__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.kAlwaysDither_Flag = <Flags.kAlwaysDither_Flag: 4>
- SurfaceProps.kDynamicMSAA_Flag = <Flags.kDynamicMSAA_Flag: 2>
- SurfaceProps.kUseDeviceIndependentFonts_Flag = <Flags.kUseDeviceIndependentFonts_Flag: 1>