29 lines
489 B
C#
29 lines
489 B
C#
namespace Gma.QrCodeNet.Encoding;
|
|
|
|
/// <summary>
|
|
/// This class contain two variables.
|
|
/// BitMatrix for QrCode
|
|
/// isContainMatrix for indicate whether QrCode contains BitMatrix or not.
|
|
/// BitMatrix will be equal to null if isContainMatrix is false.
|
|
/// </summary>
|
|
public class QrCode
|
|
{
|
|
internal QrCode(BitMatrix matrix)
|
|
{
|
|
Matrix = matrix;
|
|
IsContainMatrix = true;
|
|
}
|
|
|
|
public bool IsContainMatrix
|
|
{
|
|
get;
|
|
private set;
|
|
}
|
|
|
|
public BitMatrix Matrix
|
|
{
|
|
get;
|
|
private set;
|
|
}
|
|
}
|