Table of Contents

Namespace NuvTools.AspNetCore.Blazor.Components

Classes

CameraCapture

A frame captured from the camera.

CameraDevice

A video input device available to the browser.

CameraError

Reason why the camera could not be started.

NuvCamera

Renders a live camera preview and captures frames from it.

NuvQrCode

Shows a QR code for a text: a link to open on a phone, a pairing code, a payment payload.

NuvSignaturePad

A canvas to sign on with a finger, a stylus or the mouse, captured as an image.

NuvTextDiff

Shows two versions of a text side by side, line by line: removed lines on the left, added on the right, changed lines paired with the differing part marked. Built for audit trails (formatted JSON before and after a change), but works for any text.

QrCodeImage

Encodes text (a URL, a code, a payment payload) as a QR code image. Implemented here, with no dependency, so it runs in Blazor WebAssembly as well as on the server (for a PDF or an e-mail).

SignatureCapture

A signature drawn on a NuvSignaturePad, as a PNG.

TextDiff

Compares two texts line by line (Myers' algorithm, the one behind git diff) and returns the rows of a side-by-side view. Within a changed line it marks the part that differs. Pure .NET, so it runs in WebAssembly and on the server alike.

TextDiffLine

One side of a TextDiffRow: a line of the old or the new text.

TextDiffRow

One row of a side-by-side comparison.

Enums

CameraFacingMode

Which camera to request when starting the video stream.

CameraImageFormat

Image format used when capturing a frame.

QrCodeErrorCorrection

How much of a QR code can be damaged or covered and still be read. More correction means a denser code.

TextDiffKind

What happened to a row of a TextDiff comparison.