Class QRImageRenderer
Inheritance
System.Object
QRImageRenderer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Media.TagCodes.QR
Assembly: Azos.Media.dll
Syntax
public static class QRImageRenderer
Methods
CreateOutput(QRMatrix, Nullable<Color>, Nullable<Color>, Nullable<QRImageRenderer.ImageScale>)
Declaration
public static Image CreateOutput(this QRMatrix matrix, Color? trueColor = default(Color? ), Color? falseColor = default(Color? ), QRImageRenderer.ImageScale? scale)
Parameters
Type | Name | Description |
---|---|---|
QRMatrix | matrix | |
System.Nullable<System.Drawing.Color> | trueColor | |
System.Nullable<System.Drawing.Color> | falseColor | |
System.Nullable<QRImageRenderer.ImageScale> | scale |
Returns
Type | Description |
---|---|
Image |
ToBMP(QRMatrix, Stream, Nullable<Color>, Nullable<Color>, Nullable<QRImageRenderer.ImageScale>)
Declaration
public static void ToBMP(this QRMatrix matrix, Stream stream, Color? trueColor = default(Color? ), Color? falseColor = default(Color? ), QRImageRenderer.ImageScale? scale)
Parameters
Type | Name | Description |
---|---|---|
QRMatrix | matrix | |
System.IO.Stream | stream | |
System.Nullable<System.Drawing.Color> | trueColor | |
System.Nullable<System.Drawing.Color> | falseColor | |
System.Nullable<QRImageRenderer.ImageScale> | scale |
ToGIF(QRMatrix, Stream, Nullable<Color>, Nullable<Color>, Nullable<QRImageRenderer.ImageScale>)
Declaration
public static void ToGIF(this QRMatrix matrix, Stream stream, Color? trueColor = default(Color? ), Color? falseColor = default(Color? ), QRImageRenderer.ImageScale? scale)
Parameters
Type | Name | Description |
---|---|---|
QRMatrix | matrix | |
System.IO.Stream | stream | |
System.Nullable<System.Drawing.Color> | trueColor | |
System.Nullable<System.Drawing.Color> | falseColor | |
System.Nullable<QRImageRenderer.ImageScale> | scale |
ToJPG(QRMatrix, Stream, Nullable<Color>, Nullable<Color>, Nullable<QRImageRenderer.ImageScale>)
Declaration
public static void ToJPG(this QRMatrix matrix, Stream stream, Color? trueColor = default(Color? ), Color? falseColor = default(Color? ), QRImageRenderer.ImageScale? scale)
Parameters
Type | Name | Description |
---|---|---|
QRMatrix | matrix | |
System.IO.Stream | stream | |
System.Nullable<System.Drawing.Color> | trueColor | |
System.Nullable<System.Drawing.Color> | falseColor | |
System.Nullable<QRImageRenderer.ImageScale> | scale |
ToPNG(QRMatrix, Stream, Nullable<Color>, Nullable<Color>, Nullable<QRImageRenderer.ImageScale>)
Declaration
public static void ToPNG(this QRMatrix matrix, Stream stream, Color? trueColor = default(Color? ), Color? falseColor = default(Color? ), QRImageRenderer.ImageScale? scale)
Parameters
Type | Name | Description |
---|---|---|
QRMatrix | matrix | |
System.IO.Stream | stream | |
System.Nullable<System.Drawing.Color> | trueColor | |
System.Nullable<System.Drawing.Color> | falseColor | |
System.Nullable<QRImageRenderer.ImageScale> | scale |