Need to handle border--style & border--color.
Simplest to upload the trapagon to the GPU, but helps prepare for rounded corners & reuse existing abstractions if I combined all borders into a single geometry.
border-color's trivial.
border-style: noneorhiddenconsiders not performing the rendering. CatTrap has to treatborder-style: nonespecially to 0 out width.
dashedsplits into 2width segments & alternate between fill & transparent.dottedmeasures distance from segment edges.
solidsets all pixels to the same colour.doublesplits width into 4 & fills outside segments.
groove,ridge,inset, &outsetsplits width in half, increments colour in one half, halves in the other.