Toolkit.UI.Controls.Avalonia
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user