StageAlign align

Gets and sets the alignment of this Stage inside of the Canvas element. You can choose between nine different align modes defined in StageAlign.

Source

StageAlign get align => _stageAlign;
void align=(StageAlign value)

Source

set align(StageAlign value) {
  _stageAlign = value;
  _updateCanvasSize();
}