toPdfTileMode method
TileMode
toPdfTileMode()
Implementation
pw.TileMode toPdfTileMode() {
switch (this) {
case TileMode.clamp:
return pw.TileMode.clamp;
// not supported by pdf package:
// - TileMode.mirror:
// - TileMode.repeated:
default:
debugPrint('Unsupported TileMode: $this; defaulting to TileMode.clamp');
return pw.TileMode.clamp;
}
}