API Reference
QrPngEyeOptions
Styling overrides for QR finder (eye) patterns.
Inheritance
- Object
- QrPngEyeOptions
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.Eyes
- Method QrEyePresets.MinimalRing
- Method QrEyePresets.NeonSparkle
- Method QrEyePresets.RetroTarget
- Method QrEyePresets.Sunburst
- Property QrHtmlRenderOptions.Eyes
- Property QrPngRenderOptions.Eyes
- Property QrSvgRenderOptions.Eyes
Accepted by parameters
- Method QrBuilder.WithEyes
- Method QrHtmlRenderOptions.WithEyes
- Method QrPngRenderOptions.WithEyes
- Method QrSvgRenderOptions.WithEyes
Constructors
public QrPngEyeOptions() #Inherited Methods
Properties
public Boolean UseFrame { get; set; } #Gets or sets whether to draw each eye as a single frame (outer ring + inner dot).
public QrPngEyeFrameStyle FrameStyle { get; set; } #Gets or sets the eye frame style when UseFrame is enabled.
public QrPngModuleShape OuterShape { get; set; } #Gets or sets the outer (7x7) eye module shape.
public QrPngModuleShape InnerShape { get; set; } #Gets or sets the inner (3x3) eye module shape.
public Double OuterScale { get; set; } #Gets or sets the scale of the outer modules inside their cells (0.1..1.0).
public Double InnerScale { get; set; } #Gets or sets the scale of the inner modules inside their cells (0.1..1.0).
public Int32 OuterCornerRadiusPx { get; set; } #Gets or sets the corner radius for outer modules (pixels).
public Int32 InnerCornerRadiusPx { get; set; } #Gets or sets the corner radius for inner modules (pixels).
public Nullable<Rgba32> OuterColor { get; set; } #Optional outer eye color override.
public Rgba32[] OuterColors { get; set; } #Optional per-eye outer colors (TopLeft, TopRight, BottomLeft).
public Nullable<Rgba32> InnerColor { get; set; } #Optional inner eye color override.
public Rgba32[] InnerColors { get; set; } #Optional per-eye inner colors (TopLeft, TopRight, BottomLeft).
public QrPngGradientOptions OuterGradient { get; set; } #Optional gradient for the outer frame.
public QrPngGradientOptions[] OuterGradients { get; set; } #Optional per-eye outer gradients (TopLeft, TopRight, BottomLeft).
public QrPngGradientOptions InnerGradient { get; set; } #Optional gradient for the inner dot.
public QrPngGradientOptions[] InnerGradients { get; set; } #Optional per-eye inner gradients (TopLeft, TopRight, BottomLeft).
public Int32 GlowRadiusPx { get; set; } #Optional glow radius in pixels when FrameStyle is Glow. A value of 0 uses a reasonable default based on module size.
public Nullable<Rgba32> GlowColor { get; set; } #Optional glow color override. Defaults to the outer eye color.
public Byte GlowAlpha { get; set; } #Maximum glow alpha (0..255) when FrameStyle is Glow.
public Int32 SparkleCount { get; set; } #Optional sparkle count drawn around the eyes on the canvas.
public Int32 SparkleRadiusPx { get; set; } #Sparkle radius in pixels.
public Int32 SparkleSpreadPx { get; set; } #How far sparkles can extend beyond the eye ring (in pixels).
public Nullable<Rgba32> SparkleColor { get; set; } #Sparkle color override. Defaults to the outer eye color.
public Int32 SparkleSeed { get; set; } #Random seed for sparkle placement. Use 0 to auto-randomize per render.
public Boolean SparkleProtectQrArea { get; set; } #When true (default), sparkles do not draw inside the QR area.
public Boolean SparkleAllowOnQrBackground { get; set; } #When false (default), sparkles render only when a canvas is enabled.
public Int32 AccentRingCount { get; set; } #Optional accent ring count drawn around the eyes on the canvas.
public Int32 AccentRingThicknessPx { get; set; } #Accent ring stroke thickness in pixels.
public Int32 AccentRingSpreadPx { get; set; } #How far accent rings can extend beyond the eye ring (in pixels).
public Int32 AccentRingJitterPx { get; set; } #Small jitter applied to ring radius (in pixels).
public Nullable<Rgba32> AccentRingColor { get; set; } #Accent ring color override. Defaults to the outer eye color with a softer alpha.
public Int32 AccentRingSeed { get; set; } #Random seed for accent ring placement. Use 0 to auto-randomize per render.
public Boolean AccentRingProtectQrArea { get; set; } #When true (default), accent rings do not draw inside the QR area.
public Boolean AccentRingAllowOnQrBackground { get; set; } #When false (default), accent rings render only when a canvas is enabled.
public Int32 AccentRayCount { get; set; } #Optional accent ray count drawn around the eyes on the canvas.
public Int32 AccentRayLengthPx { get; set; } #Accent ray length in pixels.
public Int32 AccentRayThicknessPx { get; set; } #Accent ray stroke thickness in pixels.
public Int32 AccentRaySpreadPx { get; set; } #How far accent rays can start beyond the eye ring (in pixels).
public Int32 AccentRayJitterPx { get; set; } #Small jitter applied to ray start radius (in pixels).
public Int32 AccentRayLengthJitterPx { get; set; } #Small jitter applied to ray length (in pixels).
public Nullable<Rgba32> AccentRayColor { get; set; } #Accent ray color override. Defaults to the outer eye color with a softer alpha.
public Int32 AccentRaySeed { get; set; } #Random seed for accent ray placement. Use 0 to auto-randomize per render.
public Boolean AccentRayProtectQrArea { get; set; } #When true (default), accent rays do not draw inside the QR area.
public Boolean AccentRayAllowOnQrBackground { get; set; } #When false (default), accent rays render only when a canvas is enabled.
public Int32 AccentStripeCount { get; set; } #Optional accent stripe count drawn around the eyes on the canvas. Stripes are short tangential strokes that hug the eye perimeter.
public Int32 AccentStripeLengthPx { get; set; } #Accent stripe length in pixels.
public Int32 AccentStripeThicknessPx { get; set; } #Accent stripe stroke thickness in pixels.
public Int32 AccentStripeSpreadPx { get; set; } #How far accent stripes can extend beyond the eye ring (in pixels).
public Int32 AccentStripeJitterPx { get; set; } #Small jitter applied to stripe radius (in pixels).
public Int32 AccentStripeLengthJitterPx { get; set; } #Small jitter applied to stripe length (in pixels).
public Nullable<Rgba32> AccentStripeColor { get; set; } #Accent stripe color override. Defaults to the outer eye color with a softer alpha.
public Int32 AccentStripeSeed { get; set; } #Random seed for accent stripe placement. Use 0 to auto-randomize per render.
public Boolean AccentStripeProtectQrArea { get; set; } #When true (default), accent stripes do not draw inside the QR area.
public Boolean AccentStripeAllowOnQrBackground { get; set; } #When false (default), accent stripes render only when a canvas is enabled.