Equivalent swipe on element using Java library 6.1.0

My Requirement:
Perform swipe on specific element from one coordinate to other coordinate.

With Java client library 5 version, I was using the below code to perform swipe on specific element:
swipe = new TouchAction(driver).press(thisEle, 10, 10).waitAction(Duration.ofMillis(500)).moveTo(thisEle, 10, 200);

What is the equivalent for the above with latest Java library 6.1.0 ?

Looks like below serves the purpose:

swipe = new TouchAction(driver).press(ElementOption.element(thisEle, 10, 10)).waitAction(WaitOptions.waitOptions(Duration.ofMillis(500))).

Need to test it though.