setX method

void setX(
  1. double x
)

Sets the X ordinate value.

@param x the value to set as X

Implementation

void setX(double x) {
  this.x = x;
}