CaptureStrategy.fitContent constructor

const CaptureStrategy.fitContent()

Uses a JavaScript to calculate the dimensions required to fit content width and height

Implementation

const CaptureStrategy.fitContent()
    : width = null,
      height = null,
      script = fitContentJs;