示例#1
0
 public BackgroundGraphic()
 {
     ID     = 0;
     Bounds = new Bounds(0, 0, 0, 0);
     Class  = BackgroundGraphicClass.SolidGraphic;
     Shadow = new ShadowInfo()
     {
         Draws = false
     };
     DrawStroke = false;
 }
示例#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);
        }
示例#3
0
 public StyleInfo()
 {
     Fill   = new FillInfo();
     Shadow = new ShadowInfo();
     Stroke = new StrokeInfo();
 }