congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
NinePatch.getPadBottom
Code IndexAdd Tabnine to your IDE (free)

How to use
getPadBottom
method
in
com.badlogic.gdx.graphics.g2d.NinePatch

Best Java code snippets using com.badlogic.gdx.graphics.g2d.NinePatch.getPadBottom (Showing top 3 results out of 315)

origin: libgdx/libgdx

/** Sets this drawable's ninepatch and set the min width, min height, top height, right width, bottom height, and left width to
 * the patch's padding. */
public void setPatch (NinePatch patch) {
  this.patch = patch;
  setMinWidth(patch.getTotalWidth());
  setMinHeight(patch.getTotalHeight());
  setTopHeight(patch.getPadTop());
  setRightWidth(patch.getPadRight());
  setBottomHeight(patch.getPadBottom());
  setLeftWidth(patch.getPadLeft());
}
origin: libgdx/libgdx

/** Sets this drawable's ninepatch and set the min width, min height, top height, right width, bottom height, and left width to
 * the patch's padding. */
public void setPatch (NinePatch patch) {
  this.patch = patch;
  setMinWidth(patch.getTotalWidth());
  setMinHeight(patch.getTotalHeight());
  setTopHeight(patch.getPadTop());
  setRightWidth(patch.getPadRight());
  setBottomHeight(patch.getPadBottom());
  setLeftWidth(patch.getPadLeft());
}
origin: com.badlogicgames.gdx/gdx

/** Sets this drawable's ninepatch and set the min width, min height, top height, right width, bottom height, and left width to
 * the patch's padding. */
public void setPatch (NinePatch patch) {
  this.patch = patch;
  setMinWidth(patch.getTotalWidth());
  setMinHeight(patch.getTotalHeight());
  setTopHeight(patch.getPadTop());
  setRightWidth(patch.getPadRight());
  setBottomHeight(patch.getPadBottom());
  setLeftWidth(patch.getPadLeft());
}
com.badlogic.gdx.graphics.g2dNinePatchgetPadBottom

Javadoc

Returns the bottom padding if set, else returns #getBottomHeight().

Popular methods of NinePatch

  • <init>
    Construct a nine patch from the given nine texture regions. The provided patches must be consistentl
  • draw
  • setColor
    Copy given color. The color will be blended with the batch color, then combined with the texture col
  • getBottomHeight
  • getRightWidth
  • getTotalHeight
  • getTotalWidth
  • add
  • getLeftWidth
  • getPadLeft
    Returns the left padding if set, else returns #getLeftWidth().
  • getPadRight
    Returns the right padding if set, else returns #getRightWidth().
  • getPadTop
    Returns the top padding if set, else returns #getTopHeight().
  • getPadRight,
  • getPadTop,
  • getTexture,
  • getTopHeight,
  • load,
  • prepareVertices,
  • set,
  • setPadding,
  • getColor

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setRequestProperty (URLConnection)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top 25 Plugins for Webstorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now