Gets and sets the pixel ratio of the Stage.
Source
num get pixelRatio => _pixelRatio;
Source
set pixelRatio(num value) { _pixelRatio = ensureNum(value); _updateCanvasSize(); }
Gets and sets the pixel ratio of the Stage.
num get pixelRatio => _pixelRatio;
set pixelRatio(num value) { _pixelRatio = ensureNum(value); _updateCanvasSize(); }