namespace Gma.QrCodeNet.Encoding.Masking;

internal class Pattern4 : Pattern
{
    public override MaskPatternType MaskPatternType => MaskPatternType.Type4;

    public override bool this[int i, int j]
    {
        get => ((j / 2) + (i / 3)) % 2 == 0;
        set => throw new NotSupportedException();
    }
}