JengaScannerViewfinderDefaults

Defaults and token mappings for JengaScannerViewfinder.

Properties

Link copied to clipboard

Length of each corner bracket arm.

Link copied to clipboard

Corner radius where each bracket turns.

Link copied to clipboard

Thickness of the corner brackets.

Link copied to clipboard
const val FrameSizeRatio: Float = 0.72f

The reticle's side length as a fraction of the smaller viewport edge.

Link copied to clipboard
const val ScanLineDurationMillis: Int = 2000

Duration of one top-to-bottom sweep of the scan line (ms). A continuous loop, hence outside the discrete io.github.joelkanyi.jenga.foundation.motion.JengaMotion scale.

Link copied to clipboard

Thickness of the sweeping scan line.

Link copied to clipboard

The dimming scrim drawn around the reticle.

Functions

Link copied to clipboard

The accent color for the given status.