orientation property

PsdTextOrientation get orientation

Layout direction stored by the type-tool descriptor.

Implementation

PsdTextOrientation get orientation => switch (textDescriptor.value('Ornt')) {
  PsEnumeratedValue(:final String value) when value == 'Vrtc' => PsdTextOrientation.vertical,
  _ => PsdTextOrientation.horizontal,
};