Tabnine Logo
NinePatch.getPadLeft
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using com.badlogic.gdx.graphics.g2d.NinePatch.getPadLeft (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.g2dNinePatchgetPadLeft

Javadoc

Returns the left padding if set, else returns #getLeftWidth().

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().
  • 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

  • Updating database using SQL prepared statement
  • setScale (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Top plugins for Android Studio
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