brunei_plate library
Brunei's licence plates for the plate_core library.
Two geometries on the article's 533×152 mm: the single-row plate, whose
width is the same for every registration and whose cells shrink to fit,
and the diplomatic NN·NN·DC. Private, military, taxi/bus and the yellow
BX series are the single row on another theme.
Classes
- BruneiAlphabets
- The alphabets behind Brunei slots.
- BruneiColors
-
Plate colours sampled from photographs (modal colour of a region at 8-level
quantisation). None is a published standard; values from a single small or
shaded photo are marked
// CALIBRATE. - BruneiCountry
-
Every spec sets
noPanel; the colours are only the required placeholders. - BruneiDiplomaticValidator
-
Judges a
BruneiPlates.diplomaticvalue: two numbers of one or two digits. No ranges are documented. - BruneiPlates
- Brunei's plate geometries.
- BruneiSerialGenerator
-
Generates plausible values for a
singleRowspec.prefixfixes the leading letters; the rest follows the issued series (B then any letter but I and O, or K then A–P). Numbers have no leading zero. - BruneiThemes
- Frameless plates: the border is drawn in the field colour, except the diplomatic plate's thin dark rim.
- BruneiValidator
-
Judges a
BruneiPlates.singleRowregistration. Reports, never bars a keystroke.
Typedefs
- BruneiFormat = ({int digits, int prefix, bool suffix})
-
One registration's shape: 1–3 prefix letters, 1–4 digits, and whether a
military branch letter follows (
MOD 1925 A).