// Class: openfl.text._FontStyle.FontStyle_Impl_

var $global = typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : this

$global.Object.defineProperty(exports, "__esModule", {value: true});

var __map_reserved = {};

// Imports

var $hxClasses = require("./../../../hxClasses_stub").default;

// Constructor

var FontStyle_Impl_ = function(){}

// Meta

FontStyle_Impl_.__name__ = ["openfl","text","_FontStyle","FontStyle_Impl_"];
FontStyle_Impl_.prototype = {
	
};
FontStyle_Impl_.prototype.__class__ = $hxClasses["openfl.text._FontStyle.FontStyle_Impl_"] = FontStyle_Impl_;

// Init



// Statics

FontStyle_Impl_.fromString = function(value) {
	switch(value) {
	case "bold":
		return 0;
	case "boldItalic":
		return 1;
	case "italic":
		return 2;
	case "regular":
		return 3;
	default:
		return null;
	}
}
FontStyle_Impl_.toString = function(value) {
	switch(value) {
	case 0:
		return "bold";
	case 1:
		return "boldItalic";
	case 2:
		return "italic";
	case 3:
		return "regular";
	default:
		return null;
	}
}
FontStyle_Impl_.BOLD = 0
FontStyle_Impl_.BOLD_ITALIC = 1
FontStyle_Impl_.ITALIC = 2
FontStyle_Impl_.REGULAR = 3

// Export

exports.default = FontStyle_Impl_;