makeFromBytes

Initializes Path from byte buffer. Throws exception if the buffer data is inconsistent, or the length is too small.

Reads PathFillMode, verb array, Point array, conic weight, and additionally reads computed information like path convexity and bounds.

Used only in concert with serializeToBytes; the format used for Path in memory is not guaranteed.

Return

reconstructed Path

Parameters

data

storage for Path

See also