CodeGlyphX logo
CodeGlyphX

API Reference

Class

QrPngCanvasOptions

Namespace CodeGlyphX.Rendering.Png
Assembly CodeGlyphX
Modifiers sealed

Canvas options for sticker-style QR output.

Inheritance

  • Object
  • QrPngCanvasOptions

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

Accepted by parameters

Constructors

Properties

public Int32 PaddingPx { get; set; } #

Padding around the QR (in pixels).

public Int32 CornerRadiusPx { get; set; } #

Canvas corner radius in pixels.

public Rgba32 Background { get; set; } #

Canvas background color.

public QrPngGradientOptions BackgroundGradient { get; set; } #

Optional canvas background gradient.

public QrPngBackgroundPatternOptions Pattern { get; set; } #

Optional background pattern overlay.

public QrPngCanvasSplashOptions Splash { get; set; } #

Optional paint splash/drip overlay (kept outside the QR area).

public QrPngCanvasHaloOptions Halo { get; set; } #

Optional halo/glow drawn around the QR bounds (outside by default).

public QrPngCanvasVignetteOptions Vignette { get; set; } #

Optional edge vignette drawn on the canvas (QR-safe by default).

public QrPngCanvasGrainOptions Grain { get; set; } #

Optional grain/noise texture drawn on the canvas (QR-safe by default).

public QrPngCanvasFrameOptions Frame { get; set; } #

Optional decorative frame drawn around the QR bounds (kept outside the QR area).

public QrPngCanvasBandOptions Band { get; set; } #

Optional decorative band drawn outside the QR bounds (quiet-zone ring).

public QrPngCanvasBadgeOptions Badge { get; set; } #

Optional badge/tab/ribbon drawn outside the QR bounds.

public Int32 BorderPx { get; set; } #

Border thickness in pixels (0 = no border).

public Nullable<Rgba32> BorderColor { get; set; } #

Border color (defaults to background).

public Int32 ShadowOffsetX { get; set; } #

Shadow offset in pixels (X).

public Int32 ShadowOffsetY { get; set; } #

Shadow offset in pixels (Y).

public Rgba32 ShadowColor { get; set; } #

Shadow color (alpha recommended).