public static CardGameAppearanceStyleItem FromJson(CardGameAppearanceStyleItem st)
        {
            CardGameAppearanceStyleItem si = new CardGameAppearanceStyleItem(new {});
            si.BackColor = st.BackColor;
            si.Border = CardGameAppearanceStyleBorder.FromJson(st.Border);
            si.Cursor = st.Cursor;
            si.Margin = CardGameAppearanceStyleMargin.FromJson(st.Margin);
            si.Padding = CardGameAppearanceStylePadding.FromJson(st.Padding);
            si.Rotate = st.Rotate;
            si.ZIndex = st.ZIndex;

            return si;
        }
 public CardGameAppearanceStyle(CardGameAppearanceStyleItem outersStyle, CardGameAppearanceStyleItem innerStyle)
 {
     OuterStyle = outersStyle;
     InnerStyle = innerStyle;
 }
 public CardGameAppearanceStyle()
 {
     OuterStyle = new CardGameAppearanceStyleItem(new {});
     InnerStyle = new CardGameAppearanceStyleItem(new {});
 }