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