toPdfWrapCrossAlignment method
WrapCrossAlignment
toPdfWrapCrossAlignment()
Converts the WrapCrossAlignment to a pw.WrapCrossAlignment
.
Implementation
pw.WrapCrossAlignment toPdfWrapCrossAlignment() {
switch (this) {
case WrapCrossAlignment.start:
return pw.WrapCrossAlignment.start;
case WrapCrossAlignment.end:
return pw.WrapCrossAlignment.end;
case WrapCrossAlignment.center:
return pw.WrapCrossAlignment.center;
}
}