Use replayType == LINE_STRING for cubic beziers.