public PieGraphOptions() { Width = 400; Height = 200; MarginTop = 5; MarginBottom = 5; MarginLeft = 5; MarginRight = 5; ChromaKey = Color.Black; TransparentBackground = false; Option1Color = Color.Maroon; Option2Color = Color.RoyalBlue; Option3Color = Color.Orange; Option4Color = Color.ForestGreen; LabelBoxColor = Color.Black; OptionFontColor = Color.White; OptionFont = new Font("Segoe UI", 15.75f, FontStyle.Bold); CountFontColor = Color.White; CountFont = new Font("Segoe UI", 10.25f, FontStyle.Italic); TitleFontColor = Color.White; TitleFont = new Font("Segoe UI", 15.75f, FontStyle.Bold); AllowMulti = false; TotalPosition = "Bottom"; BackgroundImage = new StorableImage(); ForegroundImage = new StorableImage(); }
public GiveawayOptions() { Width = 400; MarginTop = 5; MarginBottom = 5; MarginLeft = 5; MarginRight = 5; Spacing = 3; ChromaKey = Color.Black; TransparentBackground = false; TitleFontColor = Color.White; TitleFont = new Font("Segoe UI", 15.75f, FontStyle.Bold); RollerFontColor = Color.White; RollerFont = new Font("Segoe UI", 20.25f, FontStyle.Italic); EntriesFontColor = Color.White; EntriesFont = new Font("Segoe UI", 12f, FontStyle.Bold); BackgroundImage = new StorableImage(); ForegroundImage = new StorableImage(); }
public async Task <bool> SaveImage(StorableImage image) { await buket.UploadFromBytesAsync(image.Name, image.Content); return(true); }