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

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


    return this;
  }

  public Cell<T> spaceTop (float spaceTop) {
    if (spaceTop < 0) throw new IllegalArgumentException("spaceTop cannot be < 0.");
    this.spaceTop = new Fixed(spaceTop);
    return this;
  }
View Full Code Here


    return this;
  }

  public Cell<T> spaceLeft (float spaceLeft) {
    if (spaceLeft < 0) throw new IllegalArgumentException("spaceLeft cannot be < 0.");
    this.spaceLeft = new Fixed(spaceLeft);
    return this;
  }
View Full Code Here

    return this;
  }

  public Cell<T> spaceBottom (float spaceBottom) {
    if (spaceBottom < 0) throw new IllegalArgumentException("spaceBottom cannot be < 0.");
    this.spaceBottom = new Fixed(spaceBottom);
    return this;
  }
View Full Code Here

    return this;
  }

  public Cell<T> spaceRight (float spaceRight) {
    if (spaceRight < 0) throw new IllegalArgumentException("spaceRight cannot be < 0.");
    this.spaceRight = new Fixed(spaceRight);
    return this;
  }
View Full Code Here

    return this;
  }

  /** Sets the padTop, padLeft, padBottom, and padRight to the specified value. */
  public Cell<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 Cell<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 Cell<T> padTop (float padTop) {
    this.padTop = new Fixed(padTop);
    return this;
  }
View Full Code Here

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

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

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

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

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

  public Cell<T> padRight (float padRight) {
    this.padRight = new Fixed(padRight);
    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.