CesiumLanguageWriter.Advanced.CesiumFormattingHelper.LabelStyleToString C# (CSharp) Метод

LabelStyleToString() публичный статический Метод

Converts a CesiumLabelStyle to the corresponding string in a CZML stream.
public static LabelStyleToString ( CesiumLabelStyle value ) : string
value CesiumLabelStyle The value to convert.
Результат string
        public static string LabelStyleToString(CesiumLabelStyle value)
        {
            switch (value)
            {
                case CesiumLabelStyle.Fill:
                    return "FILL";
                case CesiumLabelStyle.Outline:
                    return "OUTLINE";
                case CesiumLabelStyle.FillAndOutline:
                    return "FILL_AND_OUTLINE";
                default:
                    throw new ArgumentException(CesiumLocalization.UnknownEnumerationValue, "value");
            }
        }