Skip to content

Function: getPaddedStage() ​

ts
function getPaddedStage(stage, padding): StageRect;

The padded cutout box (what the overlay cuts out and what .driver-stage covers).

Parameters ​

ParameterType
stageStageRect
paddingnumber

Returns ​

StageRect

Released under the MIT License.