using Minint.Core.Models; namespace Minint.Core.Services; public enum PatternType { Checkerboard, HorizontalGradient, VerticalGradient, HorizontalStripes, VerticalStripes, ConcentricCircles, Tile } public interface IPatternGenerator { /// /// Generates a new document with a single layer filled with the specified pattern. /// /// Pattern type. /// Image width in pixels. /// Image height in pixels. /// Colors to use (interpretation depends on pattern type). /// Primary parameter: cell/stripe size, ring width, etc. /// Secondary parameter (optional, pattern-dependent). MinintDocument Generate(PatternType type, int width, int height, RgbaColor[] colors, int param1, int param2 = 0); }