congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
NinePatch.getTotalHeight
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using com.badlogic.gdx.graphics.g2d.NinePatch.getTotalHeight (Showing top 4 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());
}
origin: peakgames/libgdx-stagebuilder

selectBox.getScrollPane().setScrollingDisabled(selectBoxModel.isHorizontalScrollDisabled(), selectBoxModel.isVerticalScrollDisabled());
selectBox.setBounds(selectBoxModel.getX(), selectBoxModel.getY(), selectionBackgroundDrawable.getPatch().getTotalWidth(), selectionBackgroundDrawable.getPatch().getTotalHeight());
normalizeModelSize(selectBoxModel, parent, selectionBackgroundDrawable.getPatch().getTotalWidth(), selectionBackgroundDrawable.getPatch().getTotalHeight());
setBasicProperties(selectBoxModel, selectBox);
com.badlogic.gdx.graphics.g2dNinePatchgetTotalHeight

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
  • 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().
  • getPadTop
    Returns the top padding if set, else returns #getTopHeight().
  • getPadRight,
  • getPadTop,
  • getTexture,
  • getTopHeight,
  • load,
  • prepareVertices,
  • set,
  • setPadding,
  • getColor

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • setScale (BigDecimal)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • 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
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • JLabel (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Table (org.hibernate.mapping)
    A relational table
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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