getControlPointX method
Implementation
double getControlPointX(double width) {
if(showCurvedByDefault) {
return width + archHeight;
} else if (offset.dx <= width) {
return width;
} else if (offset.dx >= width + archHeight) {
return width + archHeight;
} else {
return offset.dx;
}
}