PathCommand.cubic constructor

PathCommand.cubic(
  1. Vec2D from,
  2. Vec2D controlOut,
  3. Vec2D controlIn,
  4. Vec2D to,
)

Implementation

factory PathCommand.cubic(
        Vec2D from, Vec2D controlOut, Vec2D controlIn, Vec2D to) =>
    PathCommand(PathVerb.cubic,
        points: List.unmodifiable([from, controlOut, controlIn, to]));