CodeGlyphX logo
CodeGlyphX

API Reference

Class

QrSvgRenderOptions

Namespace CodeGlyphX.Rendering.Svg
Assembly CodeGlyphX
Modifiers sealed

Options for SvgQrRenderer.

Inheritance

  • Object
  • QrSvgRenderOptions

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

Methods

public QrSvgRenderOptions WithDarkColor(String color) #
Returns: QrSvgRenderOptions

Sets the dark color (CSS value).

Parameters

color System.String requiredposition: 0
public QrSvgRenderOptions WithEyes(QrPngEyeOptions eyes) #
Returns: QrSvgRenderOptions

Sets custom eye (finder) options.

Parameters

eyes CodeGlyphX.Rendering.Png.QrPngEyeOptions requiredposition: 0
public QrSvgRenderOptions WithForegroundGradient(QrPngGradientOptions gradient) #
Returns: QrSvgRenderOptions

Sets the foreground gradient.

Parameters

gradient CodeGlyphX.Rendering.Png.QrPngGradientOptions requiredposition: 0
public QrSvgRenderOptions WithLightColor(String color) #
Returns: QrSvgRenderOptions

Sets the light color (CSS value).

Parameters

color System.String requiredposition: 0
public QrSvgRenderOptions WithLogo(QrLogoOptions logo) #
Returns: QrSvgRenderOptions

Sets the logo overlay options.

Parameters

logo CodeGlyphX.Rendering.QrLogoOptions requiredposition: 0
public QrSvgRenderOptions WithModuleCornerRadiusPx(Int32 radiusPx) #
Returns: QrSvgRenderOptions

Sets the module corner radius in pixels.

Parameters

radiusPx System.Int32 requiredposition: 0
public QrSvgRenderOptions WithModuleScale(Double scale) #
Returns: QrSvgRenderOptions

Sets the module scale.

Parameters

scale System.Double requiredposition: 0
public QrSvgRenderOptions WithModuleShape(QrPngModuleShape shape) #
Returns: QrSvgRenderOptions

Sets the module shape.

Parameters

shape CodeGlyphX.Rendering.Png.QrPngModuleShape requiredposition: 0
public QrSvgRenderOptions WithModuleSize(Int32 size) #
Returns: QrSvgRenderOptions

Sets the module size in pixels.

Parameters

size System.Int32 requiredposition: 0
public QrSvgRenderOptions WithQuietZone(Int32 quietZone) #
Returns: QrSvgRenderOptions

Sets the quiet zone size in modules.

Parameters

quietZone System.Int32 requiredposition: 0

Properties

public Int32 ModuleSize { get; set; } #

Gets or sets the size of a single QR module in pixels.

public Int32 QuietZone { get; set; } #

Gets or sets the quiet zone size in modules.

public String DarkColor { get; set; } #

Gets or sets the dark color (CSS value).

public String LightColor { get; set; } #

Gets or sets the light color (CSS value).

public QrPngModuleShape ModuleShape { get; set; } #

Gets or sets the module shape.

public Double ModuleScale { get; set; } #

Gets or sets the scale of the module inside its cell (0.1..1.0).

public Int32 ModuleCornerRadiusPx { get; set; } #

Gets or sets the corner radius in pixels for rounded modules.

public QrPngGradientOptions ForegroundGradient { get; set; } #

Optional gradient for the foreground (dark) modules.

public QrPngEyeOptions Eyes { get; set; } #

Optional eye (finder) styling overrides.