| Package | Description |
|---|---|
| com.badlogic.gdx.scenes.scene2d.ui | |
| com.badlogic.gdx.scenes.scene2d.utils |
| Modifier and Type | Field and Description |
|---|---|
Drawable |
Label.LabelStyle.background
Optional.
|
Drawable |
List.ListStyle.background
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.background
The progress bar background, stretched only in one direction.
|
Drawable |
ScrollPane.ScrollPaneStyle.background
Optional.
|
Drawable |
SelectBox.SelectBoxStyle.background
Optional.
|
Drawable |
TextField.TextFieldStyle.background
Optional.
|
Drawable |
TextTooltip.TextTooltipStyle.background
Optional.
|
Drawable |
Touchpad.TouchpadStyle.background
Stretched in both directions.
|
Drawable |
Tree.TreeStyle.background
Optional.
|
Drawable |
Window.WindowStyle.background
Optional.
|
Drawable |
SelectBox.SelectBoxStyle.backgroundDisabled
Optional.
|
Drawable |
SelectBox.SelectBoxStyle.backgroundOpen
Optional.
|
Drawable |
SelectBox.SelectBoxStyle.backgroundOver
Optional.
|
Drawable |
CheckBox.CheckBoxStyle.checkboxOff |
Drawable |
CheckBox.CheckBoxStyle.checkboxOffDisabled
Optional.
|
Drawable |
CheckBox.CheckBoxStyle.checkboxOn |
Drawable |
CheckBox.CheckBoxStyle.checkboxOnDisabled
Optional.
|
Drawable |
CheckBox.CheckBoxStyle.checkboxOver
Optional.
|
Drawable |
Button.ButtonStyle.checked
Optional.
|
Drawable |
Button.ButtonStyle.checkedOver
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.corner
Optional.
|
Drawable |
TextField.TextFieldStyle.cursor
Optional.
|
Drawable |
Button.ButtonStyle.disabled
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.disabledBackground
Optional.
|
Drawable |
TextField.TextFieldStyle.disabledBackground
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.disabledKnob
Optional, centered on the background.
|
Drawable |
ProgressBar.ProgressBarStyle.disabledKnobAfter
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.disabledKnobBefore
Optional.
|
Drawable |
Button.ButtonStyle.down
Optional.
|
Drawable |
List.ListStyle.down
Optional.
|
Drawable |
TextField.TextFieldStyle.focusedBackground
Optional.
|
Drawable |
SplitPane.SplitPaneStyle.handle |
Drawable |
ScrollPane.ScrollPaneStyle.hScroll
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.hScrollKnob
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageChecked
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageChecked
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageCheckedOver
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageCheckedOver
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageDisabled
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageDisabled
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageDown
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageDown
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageOver
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageOver
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageUp
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageUp
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.knob
Optional, centered on the background.
|
Drawable |
Touchpad.TouchpadStyle.knob
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.knobAfter
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.knobBefore
Optional.
|
Drawable |
Slider.SliderStyle.knobDown
Optional.
|
Drawable |
Slider.SliderStyle.knobOver
Optional.
|
Drawable |
Tree.TreeStyle.minus |
Drawable |
Button.ButtonStyle.over
Optional.
|
Drawable |
Tree.TreeStyle.over
Optional.
|
Drawable |
Tree.TreeStyle.plus |
Drawable |
List.ListStyle.selection |
Drawable |
TextField.TextFieldStyle.selection
Optional.
|
Drawable |
Tree.TreeStyle.selection
Optional.
|
Drawable |
Window.WindowStyle.stageBackground
Optional.
|
Drawable |
Button.ButtonStyle.up
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.vScroll
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.vScrollKnob
Optional.
|
| Modifier and Type | Method and Description |
|---|---|
Drawable |
Container.getBackground() |
Drawable |
Table.getBackground() |
Drawable |
Image.getDrawable() |
Drawable |
Skin.getDrawable(java.lang.String name)
Returns a registered drawable.
|
Drawable |
Tree.Node.getIcon() |
protected Drawable |
ProgressBar.getKnobDrawable() |
protected Drawable |
Slider.getKnobDrawable() |
Drawable |
Skin.newDrawable(Drawable drawable)
Returns a copy of the specified drawable.
|
Drawable |
Skin.newDrawable(Drawable drawable,
Color tint)
Returns a tinted copy of a drawable found in the skin via
Skin.getDrawable(String). |
Drawable |
Skin.newDrawable(Drawable drawable,
float r,
float g,
float b,
float a)
Returns a tinted copy of a drawable found in the skin via
Skin.getDrawable(String). |
Drawable |
Skin.newDrawable(java.lang.String name)
Returns a copy of a drawable found in the skin via
Skin.getDrawable(String). |
Drawable |
Skin.newDrawable(java.lang.String name,
Color tint)
Returns a tinted copy of a drawable found in the skin via
Skin.getDrawable(String). |
Drawable |
Skin.newDrawable(java.lang.String name,
float r,
float g,
float b,
float a)
Returns a tinted copy of a drawable found in the skin via
Skin.getDrawable(String). |
| Modifier and Type | Method and Description |
|---|---|
Container<T> |
Container.background(Drawable background) |
Table |
Table.background(Drawable background) |
protected void |
TextArea.drawCursor(Drawable cursorPatch,
Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextField.drawCursor(Drawable cursorPatch,
Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextArea.drawSelection(Drawable selection,
Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextField.drawSelection(Drawable selection,
Batch batch,
BitmapFont font,
float x,
float y)
Draws selection rectangle
|
protected float |
TextArea.getTextY(BitmapFont font,
Drawable background) |
protected float |
TextField.getTextY(BitmapFont font,
Drawable background) |
Drawable |
Skin.newDrawable(Drawable drawable)
Returns a copy of the specified drawable.
|
Drawable |
Skin.newDrawable(Drawable drawable,
Color tint)
Returns a tinted copy of a drawable found in the skin via
Skin.getDrawable(String). |
Drawable |
Skin.newDrawable(Drawable drawable,
float r,
float g,
float b,
float a)
Returns a tinted copy of a drawable found in the skin via
Skin.getDrawable(String). |
void |
Container.setBackground(Drawable background)
Sets the background drawable and adjusts the container's padding to match the background.
|
void |
Table.setBackground(Drawable background) |
void |
Container.setBackground(Drawable background,
boolean adjustPadding)
Sets the background drawable and, if adjustPadding is true, sets the container's padding to
getBottomHeight() , getTopHeight(), getLeftWidth(), and
getRightWidth(). |
void |
Image.setDrawable(Drawable drawable) |
void |
Tree.Node.setIcon(Drawable icon)
Sets an icon that will be drawn to the left of the actor.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
TransformDrawable
A drawable that supports scale and rotation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseDrawable
Drawable that stores the size information but doesn't draw anything.
|
class |
NinePatchDrawable
Drawable for a
NinePatch. |
class |
SpriteDrawable
Drawable for a
Sprite. |
class |
TextureRegionDrawable
Drawable for a
TextureRegion. |
class |
TiledDrawable
Draws a
TextureRegion repeatedly to fill the area, instead of stretching it. |
| Modifier and Type | Method and Description |
|---|---|
Drawable |
TextureRegionDrawable.tint(Color tint)
Creates a new drawable that renders the same as this drawable tinted the specified color.
|
| Constructor and Description |
|---|
BaseDrawable(Drawable drawable)
Creates a new empty drawable with the same sizing information as the specified drawable.
|