SuperMap.Web.iServerJava6R.ThemeGraphAxes.FromJson C# (CSharp) Méthode

FromJson() static private méthode

static private FromJson ( System.Json.JsonObject json ) : ThemeGraphAxes
json System.Json.JsonObject
Résultat ThemeGraphAxes
        internal static ThemeGraphAxes FromJson(JsonObject json)
        {
            if (json == null) return null;
            ThemeGraphAxes graphAxes = new ThemeGraphAxes();
            graphAxes.AxesColor = ServerColor.FromJson((JsonObject)json["axesColor"]);
            graphAxes.AxesDisplayed = (bool)json["axesDisplayed"];
            graphAxes.AxesGridDisplayed = (bool)json["axesGridDisplayed"];
            graphAxes.AxesTextDisplayed = (bool)json["axesTextDisplayed"];
            graphAxes.AxesTextStyle = ServerTextStyle.FromJson((JsonObject)json["axesTextStyle"]);
            return graphAxes;
        }