Esempio n. 1
0
        public static List<ImageEffect> GetDefaultImageEffects()
        {
            List<ImageEffect> imageEffects = new List<ImageEffect>();

            Canvas canvas = new Canvas();
            canvas.Margin = new Padding(0, 0, 0, 30);
            imageEffects.Add(canvas);

            DrawText text = new DrawText();
            text.Offset = new Point(0, 0);
            text.UseCustomGradient = true;
            imageEffects.Add(text);

            return imageEffects;
        }
Esempio n. 2
0
        public static ImageEffectPreset GetDefaultPreset()
        {
            ImageEffectPreset preset = new ImageEffectPreset();

            Canvas canvas = new Canvas();

            canvas.Margin = new Padding(0, 0, 0, 30);
            preset.Effects.Add(canvas);

            DrawText text = new DrawText();

            text.Offset            = new Point(0, 0);
            text.UseCustomGradient = true;
            preset.Effects.Add(text);

            return(preset);
        }
Esempio n. 3
0
        public static List <ImageEffect> GetDefaultImageEffects()
        {
            List <ImageEffect> imageEffects = new List <ImageEffect>();

            Canvas canvas = new Canvas();

            canvas.Margin = new Padding(0, 0, 0, 30);
            imageEffects.Add(canvas);

            DrawText text = new DrawText();

            text.Offset            = new Point(0, 0);
            text.UseCustomGradient = true;
            imageEffects.Add(text);

            return(imageEffects);
        }