code: void set(ObjectProperty<WeakReference<Segment1D<?, ?>>> segment, DoubleProperty x, DoubleProperty y) {
  		this.segment = segment;
  		this.x = x;
  		this.y = y;
  	}
docs: Change the x and y properties.
  
  @param segment the new segment property.
  @param x the new x property.
  @param y the new y property.