Beispiel #1
0
 public BackgroundGraphic()
 {
     ID     = 0;
     Bounds = new Bounds(0, 0, 0, 0);
     Class  = BackgroundGraphicClass.SolidGraphic;
     Shadow = new ShadowInfo()
     {
         Draws = false
     };
     DrawStroke = false;
 }
Beispiel #2
0
        private static PListDict ExportShadow(Omnigraffle.ShadowInfo shadowInfo)
        {
            var shadow = new PListDict();

            shadow.Add("Draws", new PListString(shadowInfo.Draws ? "YES" : "NO"));

            if (shadowInfo.ShadowVector != null)
            {
                shadow.Add("ShadowVector", new PListString(string.Format("{{{0}, {1}}}", shadowInfo.ShadowVector.X, shadowInfo.ShadowVector.Y)));
            }

            return(shadow);
        }
Beispiel #3
0
 public StyleInfo()
 {
     Fill   = new FillInfo();
     Shadow = new ShadowInfo();
     Stroke = new StrokeInfo();
 }