toCssAnimationTimingFunction method

String toCssAnimationTimingFunction()

Returns CSS string representation of bezier.

  • Assumes anchor points are (0, 0) and (1, 1)!

Implementation

String toCssAnimationTimingFunction()
{
  return "cubic-bezier(${x1}, ${y1}, ${x2}, ${y2})";
}