Let’s get started
We’re going to start by creating two enums: one that identifies which side a segment is on, and another to define behaviour for four segments.
The Preview Canvas on the right of the screenshot below shows a small group of four segments, and below that is a complete number with eight segments. The thickness …
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.