Added the ability to change the clippig y-coordinate.
Added a setValue function and refactored the addition.