write

Writes the specified DrawStyle properties to the buffer. This includes linearized fill color, linearized stroke color, and an adjusted stroke weight based on the presence and transparency of the stroke.

Parameters

drawStyle

the DrawStyle instance containing fill color, stroke color, and stroke weight to be written to the buffer