CanvasRenderingContext2DSettings constructor
CanvasRenderingContext2DSettings({
- bool? alpha,
- PredefinedColorSpace? colorSpace,
- bool? desynchronized,
- bool? willReadFrequently,
Implementation
factory CanvasRenderingContext2DSettings({
_i2.bool? alpha,
_i3.PredefinedColorSpace? colorSpace,
_i2.bool? desynchronized,
_i2.bool? willReadFrequently,
}) =>
CanvasRenderingContext2DSettings._(
alpha: alpha,
colorSpace: colorSpace?.name ?? _i6.undefined,
desynchronized: desynchronized,
willReadFrequently: willReadFrequently,
);