export enum SystemLinesEnum { SingleThin = 0 , DoubleThin = 1 , ThinBold = 2 , BoldThinDots = 3 , DotsThinBold = 4 , DotsBoldBoldDots = 5 , None = 6 , Dotted = 7 , Dashed = 8 , Bold = 9 , BoldThin = 10 , DoubleBold = 11 , Tick = 12 , Short = 13 } export class SystemLinesEnumHelper { public static xmlBarlineStyleToSystemLinesEnum ( xmlValue ) { if ( xmlValue === "regular" ) { return SystemLinesEnum . SingleThin ; } else if ( xmlValue === "dotted" ) { return SystemLinesEnum . Dotted ; } else if ( xmlValue === "dashed" ) { return SystemLinesEnum . Dashed ; } else if ( xmlValue === "heavy" ) { return SystemLinesEnum . Bold ; } else if ( xmlValue === "light-light" ) { return SystemLinesEnum . DoubleThin ; } else if ( xmlValue === "light-heavy" ) { return SystemLinesEnum . ThinBold ; } else if ( xmlValue === "heavy-light" ) { return SystemLinesEnum . BoldThin ; } else if ( xmlValue === "heavy-heavy" ) { return SystemLinesEnum . DoubleBold ; } else if ( xmlValue === "tick" ) { return SystemLinesEnum . Tick ; } else if ( xmlValue === "short" ) { return SystemLinesEnum . Short ; } else if ( xmlValue === "none" ) { return SystemLinesEnum . None ; } return SystemLinesEnum . SingleThin ; } }