brushType and color are kept as raw integers because both are overloaded
across firmware versions (there are two pen-code families, and the color
field is reinterpreted as a palette index when colored annotations are
enabled), so the right meaning can only be resolved with the source firmware
in mind.
a single stroke (called a "line") within a layer
brushTypeandcolorare kept as raw integers because both are overloaded across firmware versions (there are two pen-code families, and the color field is reinterpreted as a palette index when colored annotations are enabled), so the right meaning can only be resolved with the source firmware in mind.