Function Control.setGlobalPosition

Sets the rectGlobalPosition to given position. If keep_margins is true, control's anchors will be updated instead of margins.

void setGlobalPosition (
  const(Vector2) position,
  const(bool) keep_margins = false
) nothrow @nogc;