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

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

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

origin: libgdx/libgdx

/** Returns the top padding if set, else returns {@link #getTopHeight()}. */
public float getPadTop () {
  if (padTop == -1) return getTopHeight();
  return padTop;
}
origin: libgdx/libgdx

/** Returns the top padding if set, else returns {@link #getTopHeight()}. */
public float getPadTop () {
  if (padTop == -1) return getTopHeight();
  return padTop;
}
origin: libgdx/libgdx

float topHeight = getTopHeight();
if ((patches[TOP_LEFT] != null && patches[TOP_LEFT].getRegionHeight() != topHeight)
  || (patches[TOP_CENTER] != null && patches[TOP_CENTER].getRegionHeight() != topHeight)
origin: libgdx/libgdx

float topHeight = getTopHeight();
if ((patches[TOP_LEFT] != null && patches[TOP_LEFT].getRegionHeight() != topHeight)
  || (patches[TOP_CENTER] != null && patches[TOP_CENTER].getRegionHeight() != topHeight)
origin: com.badlogicgames.gdx/gdx

/** Returns the top padding if set, else returns {@link #getTopHeight()}. */
public float getPadTop () {
  if (padTop == -1) return getTopHeight();
  return padTop;
}
origin: com.badlogicgames.gdx/gdx

float topHeight = getTopHeight();
if ((patches[TOP_LEFT] != null && patches[TOP_LEFT].getRegionHeight() != topHeight)
  || (patches[TOP_CENTER] != null && patches[TOP_CENTER].getRegionHeight() != topHeight)
com.badlogic.gdx.graphics.g2dNinePatchgetTopHeight

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
  • getPadBottom
    Returns the bottom padding if set, else returns #getBottomHeight().
  • getPadLeft
    Returns the left padding if set, else returns #getLeftWidth().
  • getPadRight
    Returns the right padding if set, else returns #getRightWidth().
  • getPadLeft,
  • getPadRight,
  • getPadTop,
  • getTexture,
  • load,
  • prepareVertices,
  • set,
  • setPadding,
  • getColor

Popular in Java

  • Finding current android device location
  • putExtra (Intent)
  • setContentView (Activity)
  • getContentResolver (Context)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Notification (javax.management)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • PhpStorm for WordPress
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