CodeGlyphX logo
CodeGlyphX

API Reference

Class

QrPngCanvasBadgeOptions

Namespace CodeGlyphX.Rendering.Png
Assembly CodeGlyphX
Modifiers sealed

Decorative badge/tab/ribbon options drawn outside the QR bounds.

Inheritance

  • Object
  • QrPngCanvasBadgeOptions

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

Constructors

Properties

public QrPngCanvasBadgeShape Shape { get; set; } #

Badge shape.

public QrPngCanvasBadgePosition Position { get; set; } #

Badge position relative to the QR bounds.

public Int32 WidthPx { get; set; } #

Badge width in pixels (0 disables drawing).

public Int32 HeightPx { get; set; } #

Badge height in pixels (0 disables drawing).

public Int32 GapPx { get; set; } #

Gap between the QR bounds and the badge.

public Int32 OffsetPx { get; set; } #

Offset along the edge (horizontal for top/bottom, vertical for left/right).

public Int32 CornerRadiusPx { get; set; } #

Badge corner radius in pixels.

public Rgba32 Color { get; set; } #

Badge color.

public QrPngGradientOptions Gradient { get; set; } #

Optional badge gradient (overrides Color when set).

public QrPngCanvasEdgePatternOptions EdgePattern { get; set; } #

Optional edge pattern overlay.

public Int32 TailPx { get; set; } #

Ribbon tail length in pixels (applies to Ribbon).