readColor

open fun readColor(stream: ObjectInputStream): Color

Generalized way to deserialize a JavaFX Color from a stream.

Return

the color to deserialize

Parameters

stream

the readObject() inputStream

Throws

if the end of file is reached

if cannot find the class

if other I/O error has occurred