Files
Toolkit2/Toolkit.UI.Controls.Avalonia/QrCode/Encoding/QrCode.cs
T
2024-04-13 11:41:33 +01:00

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;
}
}