API Reference
Class
QrPngBackgroundPatternOptions
Background pattern options for canvas fills.
Inheritance
- Object
- QrPngBackgroundPatternOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property QrEasyOptions.BackgroundPattern
- Property QrPngCanvasOptions.Pattern
- Property QrPngRenderOptions.BackgroundPattern
Accepted by parameters
Constructors
public QrPngBackgroundPatternOptions() #Inherited Methods
Properties
public QrPngBackgroundPatternType Type { get; set; } #Gets or sets the pattern type.
public Rgba32 Color { get; set; } #Gets or sets the pattern color (alpha recommended).
public Int32 SizePx { get; set; } #Gets or sets the pattern cell size in pixels.
public Int32 ThicknessPx { get; set; } #Gets or sets the pattern thickness (dot radius or grid line thickness).
public Boolean SnapToModuleSize { get; set; } #When true, pattern cell size snaps to a multiple of the QR module size.
public Int32 ModuleStep { get; set; } #Module size multiplier when SnapToModuleSize is enabled.