static private FromJson ( System.Json.JsonObject json ) : |
||
json | System.Json.JsonObject | |
return |
internal static ThemeLabelItem FromJson(JsonObject json)
{
if (json == null) return null;
ThemeLabelItem item = new ThemeLabelItem();
item.Caption = json["caption"];
item.End = (double)json["end"];
item.Start = (double)json["start"];
if (json["style"] != null)
{
item.Style = ServerTextStyle.FromJson((JsonObject)json["style"]);
}
item.Visible = (bool)json["visible"];
return item;
}