ClassLibraryWeiBao/QR二维码/Positioning/Stencils/PatternStencilBase.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
namespace Gma.QrCodeNet.Encoding.Positioning.Stencils
{
internal abstract class PatternStencilBase : BitMatrix
{
public int Version { get; private set; }
internal PatternStencilBase(int version)
{
Version = version;
}
protected const bool o = false;
protected const bool x = true;
public abstract bool[,] Stencil { get; }
public override bool this[int i, int j]
{
get { return Stencil[i, j]; }
set { throw new NotSupportedException(); }
}
public override int Width
{
get { return Stencil.GetLength(0); }
}
public override int Height
{
get { return Stencil.GetLength(1); }
}
public override bool[,] InternalArray
{
get { throw new NotImplementedException(); }
}
public abstract void ApplyTo(TriStateMatrix matrix);
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。