BoxConstraints.tight constructor
BoxConstraints.tight(
- PdfPoint size
Creates box constraints that is respected only by the given size.
Implementation
BoxConstraints.tight(PdfPoint size)
: minWidth = size.x,
maxWidth = size.x,
minHeight = size.y,
maxHeight = size.y;