Package com.badlogic.gdx.scenes.scene2d.ui.Value

Examples of com.badlogic.gdx.scenes.scene2d.ui.Value.Fixed


    return this;
  }

  /** Sets the padTop, padLeft, padBottom, and padRight to the specified value. */
  public Container<T> pad (float pad) {
    Value value = new Fixed(pad);
    padTop = value;
    padLeft = value;
    padBottom = value;
    padRight = value;
    return this;
View Full Code Here


    padRight = value;
    return this;
  }

  public Container<T> pad (float top, float left, float bottom, float right) {
    padTop = new Fixed(top);
    padLeft = new Fixed(left);
    padBottom = new Fixed(bottom);
    padRight = new Fixed(right);
    return this;
  }
View Full Code Here

    padRight = new Fixed(right);
    return this;
  }

  public Container<T> padTop (float padTop) {
    this.padTop = new Fixed(padTop);
    return this;
  }
View Full Code Here

    this.padTop = new Fixed(padTop);
    return this;
  }

  public Container<T> padLeft (float padLeft) {
    this.padLeft = new Fixed(padLeft);
    return this;
  }
View Full Code Here

    this.padLeft = new Fixed(padLeft);
    return this;
  }

  public Container<T> padBottom (float padBottom) {
    this.padBottom = new Fixed(padBottom);
    return this;
  }
View Full Code Here

    this.padBottom = new Fixed(padBottom);
    return this;
  }

  public Container<T> padRight (float padRight) {
    this.padRight = new Fixed(padRight);
    return this;
  }
View Full Code Here

    return this;
  }

  /** Sets the padTop, padLeft, padBottom, and padRight around the table to the specified value. */
  public Table pad (float pad) {
    pad(new Fixed(pad));
    return this;
  }
View Full Code Here

    pad(new Fixed(pad));
    return this;
  }

  public Table pad (float top, float left, float bottom, float right) {
    padTop = new Fixed(top);
    padLeft = new Fixed(left);
    padBottom = new Fixed(bottom);
    padRight = new Fixed(right);
    sizeInvalid = true;
    return this;
  }
View Full Code Here

    return this;
  }

  /** Padding at the top edge of the table. */
  public Table padTop (float padTop) {
    this.padTop = new Fixed(padTop);
    sizeInvalid = true;
    return this;
  }
View Full Code Here

    return this;
  }

  /** Padding at the left edge of the table. */
  public Table padLeft (float padLeft) {
    this.padLeft = new Fixed(padLeft);
    sizeInvalid = true;
    return this;
  }
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.scenes.scene2d.ui.Value.Fixed

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.