// ignore_for_file: non_constant_identifier_names, camel_case_types, missing_return, unused_import, unused_local_variable, dead_code, unnecessary_cast
//////////////////////////////////////////////////////////
// GENERATED BY FLUTTIFY. DO NOT EDIT IT.
//////////////////////////////////////////////////////////

enum MALineJoinType {
  kMALineJoinBevel /* null */,
  kMALineJoinMiter /* null */,
  kMALineJoinRound /* null */
}

extension MALineJoinTypeToX on MALineJoinType {
  int toValue() {
    switch (this) {
      case MALineJoinType.kMALineJoinBevel: return MALineJoinType.kMALineJoinBevel.index + 0;
      case MALineJoinType.kMALineJoinMiter: return MALineJoinType.kMALineJoinMiter.index + 0;
      case MALineJoinType.kMALineJoinRound: return MALineJoinType.kMALineJoinRound.index + 0;
      default: return 0;
    }
  }
}

extension MALineJoinTypeFromX on int {
  MALineJoinType toMALineJoinType() {
    switch (this) {
      
      default: return MALineJoinType.values[this + 0];
    }
  }
}