contentRectangle property

Rectangle<num> contentRectangle

Gets the available content area on the stage. The value of this rectangle changes with the scaleMode and the alignment of the stage, as well as the size of the underlying Canvas element.

Implementation

Rectangle<num> get contentRectangle => _contentRectangle.clone();