writeColor

open fun writeColor(stream: ObjectOutputStream, color: Color)

Generalized way to serialize JavaFX Color on a stream.

Parameters

stream

the writeObject() outputStream

color

the color to serialize

Throws

if I/O errors occur while writing to the underlying stream