toPdfAlignment method
Alignment?
toPdfAlignment()
Implementation
pw.Alignment? toPdfAlignment() {
switch (runtimeType) {
case const (Alignment):
return (this as Alignment).toPdfAlignment();
case const (AlignmentDirectional):
return (this as AlignmentDirectional).toPdfAlignment();
default:
debugPrint('Unsupported AlignmentGeometry: $this; defaulting to null');
return null;
}
}