RenderPicture constructor

RenderPicture({
  1. PictureInfo? picture,
  2. bool matchTextDirection = false,
  3. TextDirection? textDirection,
  4. bool? allowDrawingOutsideViewBox,
})

Creates a new RenderPicture.

Implementation

RenderPicture({
  PictureInfo? picture,
  bool matchTextDirection = false,
  TextDirection? textDirection,
  bool? allowDrawingOutsideViewBox,
})  : _matchTextDirection = matchTextDirection,
      _textDirection = textDirection,
      _allowDrawingOutsideViewBox = allowDrawingOutsideViewBox {
  this.picture = picture;
}