public DistractedBoyfriendMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("DistractedBoyfriend.jpg", new MultiBoundingBox( new TextBoundingBox(1338, 823, 500, 260) { Brush = Brushes.Solid(Rgba32.White), Pen = Pens.Solid(Rgba32.Black, 2), Font = font }, new ImageBoundingBox(1338, 703, 500, 500)), new MultiBoundingBox( new TextBoundingBox(1874, 829, 440, 260) { Brush = Brushes.Solid(Rgba32.White), Pen = Pens.Solid(Rgba32.Black, 2), Font = font }, new ImageBoundingBox(1844, 689, 500, 500)), new MultiBoundingBox( new TextBoundingBox(487, 1016, 500, 260) { Brush = Brushes.Solid(Rgba32.White), Pen = Pens.Solid(Rgba32.Black, 2), Font = font }, new ImageBoundingBox(487, 876, 500, 500))); }
public TrolleyProblemMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("TrolleyProblem.png", new MultiBoundingBox(787, 23, 350, 120), new MultiBoundingBox(371, 379, 350, 120)); }
public PigeonMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("Pigeon.jpg", new MultiBoundingBox( new TextBoundingBox(196, 181, 350, 120) { CenterWidth = true, CenterHeight = true, Brush = Brushes.Solid(Rgba32.White), Pen = Pens.Solid(Rgba32.Black, 2), Font = font }, new ImageBoundingBox(190, 196, 375, 375)), new MultiBoundingBox( new TextBoundingBox(738, 144, 300, 220) { CenterWidth = true, CenterHeight = true, Brush = Brushes.Solid(Rgba32.White), Pen = Pens.Solid(Rgba32.Black, 2), Font = font }, new ImageBoundingBox(780, 148, 215, 215)), new TextBoundingBox(277, 741, 694, 80) { CenterWidth = true, CenterHeight = true, Brush = Brushes.Solid(Rgba32.White), Pen = Pens.Solid(Rgba32.Black, 2), Font = font }); }
public LightBulbMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("LightBulb.png", new TextBoundingBox(112, 767, 335, 126) { CenterWidth = true, CenterHeight = true }); }
public ComaMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("Coma.jpg", new TextBoundingBox(145, 73, 570, 74) { ForceNoScaling = true, Font = font }, new TextBoundingBox(158, 150, 567, 110) { PreferNoScaling = true, Font = font }); }
public HardToSwallowPillsMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("Pills.jpg", new MultiBoundingBox(192, 887, 437, 285, new TextBoundingBox(), new ImageBoundingBox() { GraphicsOptions = new SixLabors.ImageSharp.GraphicsOptions(true) { AntialiasSubpixelDepth = 8, BlenderMode = PixelBlenderMode.Normal, BlendPercentage = 0.5f } })); }
public DailyStruggleMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("DailyStruggle.png", new MultiBoundingBox { TopLeft = new PointF(79, 179), TopRight = new PointF(348, 129), BottomLeft = new PointF(126, 312), BottomRight = new PointF(401, 232) }, new MultiBoundingBox { TopLeft = new PointF(409, 121), TopRight = new PointF(608, 92), BottomLeft = new PointF(462, 240), BottomRight = new PointF(665, 183) }); }
public KaibasDefeatMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("KaibasDefeat.png", new MultiBoundingBox() { TopLeft = new PointF(0, 213), TopRight = new PointF(285, 135), BottomLeft = new PointF(113, 585), BottomRight = new PointF(394, 506) }, new MultiBoundingBox() { TopLeft = new PointF(0, 750), TopRight = new PointF(353, 685), BottomLeft = new PointF(50, 1145), BottomRight = new PointF(419, 1096) }); }
public KomiPaperMemeGen(BotState state) { _botState = state; var fontCollection = new FontCollection(); fontCollection.Install(@"Fonts\mangat.ttf", out var fontDescription); _template = new MemeTemplate("KomiPaper.png", new TextBoundingBox() { TopLeft = new PointF(245, 479), TopRight = new PointF(708, 558), BottomLeft = new PointF(168, 728), BottomRight = new PointF(632, 810), CenterHeight = false, CenterWidth = false, Font = fontCollection.CreateFont(fontDescription.FontFamily, 20) }, new MultiBoundingBox(new ImageBoundingBox() { TopLeft = new PointF(245, 479), TopRight = new PointF(708, 558), BottomLeft = new PointF(94, 988), BottomRight = new PointF(557, 1067), LandscapeScalingMode = ImageScalingMode.FitWithLetterbox, PortraitScalingMode = ImageScalingMode.FillFit }) { Padding = 10, Masks = new List <Rectangle> { new Rectangle(0, 631, 186, 446), new Rectangle(666, 552, 50, 150), new Rectangle(0, 1065, 557, 205) } }); }
public DisappointmentMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("Disappointment.png", new MultiBoundingBox(115, 720, 469, 164)); }
public GruPlanMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("GruPlan.png", new MultiBoundingBox(new TextBoundingBox() { CenterHeight = false }, new ImageBoundingBox()) { TopLeft = new PointF(425, 114), TopRight = new PointF(702, 94), BottomLeft = new PointF(403, 450), BottomRight = new PointF(680, 430), Padding = 5, Masks = new List <Rectangle> { new Rectangle(691, 85, 20, 400) } }, new MultiBoundingBox(new TextBoundingBox() { CenterHeight = false }, new ImageBoundingBox()) { TopLeft = new PointF(1118, 114), TopRight = new PointF(1395, 94), BottomLeft = new PointF(1096, 450), BottomRight = new PointF(1373, 430), Padding = 5, Masks = new List <Rectangle> { new Rectangle(1384, 85, 20, 400) } }, new MultiBoundingBox(new TextBoundingBox() { CenterHeight = false }, new ImageBoundingBox()) { TopLeft = new PointF(425, 562), TopRight = new PointF(702, 542), BottomLeft = new PointF(403, 898), BottomRight = new PointF(680, 878), Padding = 5, Masks = new List <Rectangle> { new Rectangle(691, 533, 20, 400) } }, new MultiBoundingBox(new TextBoundingBox() { CenterHeight = false }, new ImageBoundingBox()) { TopLeft = new PointF(1118, 562), TopRight = new PointF(1395, 542), BottomLeft = new PointF(1096, 898), BottomRight = new PointF(1373, 878), Padding = 5, Masks = new List <Rectangle> { new Rectangle(1384, 533, 20, 400) } }); }
public DogBiteMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("DogBite.png", new MultiBoundingBox(179, 519, 310, 160)); }
public CrystalOfTruthMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("CrystalOfTruth.png", new TextBoundingBox(70, 530, 380, 80)); }
public AlarmClockMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("AlarmClock.png", new MultiBoundingBox(1755, 190, 790, 120)); }
public ScrollOfTruthMemeGen(BotState state) { _botState = state; _template = new MemeTemplate("ScrollOfTruth.jpg", new MultiBoundingBox(241, 719, 220, 280)); }