CodeGlyphX logo
CodeGlyphX

API Reference

Class

QrPngForegroundPatternOptions

Namespace CodeGlyphX.Rendering.Png
Assembly CodeGlyphX
Modifiers sealed

Foreground pattern options for styling dark modules.

Inheritance

  • Object
  • QrPngForegroundPatternOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Properties

public QrPngForegroundPatternType Type { get; set; } #

Gets or sets the pattern type.

public Rgba32 Color { get; set; } #

Gets or sets the pattern color (alpha recommended).

public QrPngForegroundPatternBlendMode BlendMode { get; set; } #

Gets or sets the pattern blend mode.

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 stripe thickness).

public Int32 Seed { get; set; } #

Random seed used by jittered pattern variants such as SpeckleDots.

public Double Variation { get; set; } #

Variation amount (0..1) used by jittered pattern variants.

public Double Density { get; set; } #

Dot density (0..1) used by jittered pattern variants.

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.

public Boolean ApplyToModules { get; set; } #

When true, applies the pattern to non-eye modules.

public Boolean ApplyToEyes { get; set; } #

When true, applies the pattern to eye (finder) modules.