unmarshal static method

Bezier unmarshal(
  1. MarshalledObject marshalled
)

Implementation

static Bezier unmarshal(MarshalledObject marshalled)
{
  return new Bezier(
    marshalled.getRequired("x0").asDouble(),
    marshalled.getRequired("y0").asDouble(),
    marshalled.getRequired("x1").asDouble(),
    marshalled.getRequired("y1").asDouble(),
    marshalled.getRequired("x2").asDouble(),
    marshalled.getRequired("y2").asDouble(),
    marshalled.getRequired("x3").asDouble(),
    marshalled.getRequired("y3").asDouble() );
}