Set the X and Y coordinate of the vector.

@param float $x X-Coordinate.
@param float $y Y-Coordinate.
190909
public function set(float $x, float $y) {
        $this->setX($x);
        $this->setY($y);
    }
774754
@Override
	public void setFirstAxis(double x, double y, double z) {
		setFirstAxis(x, y, z, getFirstAxisExtent());
	}
116386
public void setSliderPosition(float x, float y) {

        if (x > 255) {
            x = 255;
        }
        if (x < 0) {
            x = 0;
        }
        if (y > 255) {
            y = 255;
        }
        if (y < 0) {
            y = 0;
        }
        x -= 7;
        y -= 7;
        m_slider.getElement().getStyle().setLeft(x, Unit.PX);
        m_slider.getElement().getStyle().setTop(y, Unit.PX);
    }
568594
public function setAxis($x, $y)
    {
        $this->scrollbarH = $x;
        $this->scrollbarV = $y;

        return $this;
    }
75264
public function multiply($x, $y) {
		$this->width *= $x;
		$this->height *= $y;
		return $this;
	}
793147
public void setVertex(int i, double x, double y) {
        this.x.set(i, x);
        this.y.set(i, y);
        this.z.set(i, 0d);
        calcG();
    }
521157
public function resizeXorY($x, $y)
    {
        if ($x > $y) {
            $this->resizeX($x);
        } else {
            $this->resizeY($y);
        }
    }
299818
public void setX(float x) {
    	if (x != this.x) {
    		float dx = x - this.x;
	        this.x = x;
	        
	        if ((points == null) || (center == null)) {
	        	checkPoints();
	        }
	        // update the points in the special case
    		for (int i=0;i<points.length/2;i++) {
    			points[i*2] += dx;
    		}
    		center[0] += dx;
    		x += dx;
    		maxX += dx;
    		minX += dx;
	        trianglesDirty = true;
    	}
    }
980718
public void setShift(double x, double y) {
		xx = 1;
		xy = 0;
		xd = x;
		yx = 0;
		yy = 1;
		yd = y;
	}
495960
public void addPoint(double x, double y)
    {
        if (npoints >= xpoints.length)
        {
            final int newLength = npoints * 2;
            xpoints = Arrays.copyOf(xpoints, newLength);
            ypoints = Arrays.copyOf(ypoints, newLength);
        }
        xpoints[npoints] = x;
        ypoints[npoints] = y;
        npoints++;
        updateBounds();
    }
923096
public void setValue(float angle, float x, float y, float z) {
        set(angle, x, y, z);
    }
254964
public void setPosition(float x, float y, float z) {
        componentPosition.set(x, y, z);
        if (sceneObject != null) {
            sceneObject.getTransform().setPosition(x, y, z);
        }
    }
1005663
public function setDenyAspectRatio($x, $y)
    {
        $this->denyAspectRatioX = (int)$x;
        $this->denyAspectRatioY = (int)$y;

        return $this;
    }
587803
public function translate($x, $y)
    {
        if(!$x && !$y)
        {
            return;
        }
        
        $this->getBoundary()->translate($x, $y);
    }
90855
public void setCorner(int index, double x, double y) {
        if (index <= 0) {
            this.x1 = x;
            this.y1 = y;
        } else if (index == 1) {
            this.x2 = x;
            this.y2 = y;
        } else if (index == 2) {
            this.x3 = x;
            this.y3 = y;
        } else if (index >= 3) {
            this.x4 = x;
            this.y4 = y;
        }
        calcG();
    }
231641
public void set(double x, double y, double z) {
		assert Vector3D.isUnitVector(x, y, z) : AssertMessages.normalizedParameters(0, 1, 2);
		if ((x != getX() || y != getY() || z != getZ()) && !isBound()) {
			final Vector3dfx v = super.get();
			v.set(x, y, z);
			fireValueChangedEvent();
		}
	}
712669
public void set(int x, int y) {
    int offset = y * rowSize + (x / 32);
    bits[offset] |= 1 << (x & 0x1f);
  }