| Package | Description |
|---|---|
| com.badlogic.gdx.scenes.scene2d.ui | |
| com.badlogic.gdx.scenes.scene2d.utils |
| Modifier and Type | Field and Description |
|---|---|
Drawable |
Window.WindowStyle.background |
Drawable |
Tree.TreeStyle.background |
Drawable |
Touchpad.TouchpadStyle.background
Stretched in both directions.
|
Drawable |
TextTooltip.TextTooltipStyle.background |
Drawable |
TextField.TextFieldStyle.background |
Drawable |
SelectBox.SelectBoxStyle.background |
Drawable |
ScrollPane.ScrollPaneStyle.background |
Drawable |
ProgressBar.ProgressBarStyle.background
The progress bar background, stretched only in one direction.
|
Drawable |
List.ListStyle.background |
Drawable |
Label.LabelStyle.background |
Drawable |
SelectBox.SelectBoxStyle.backgroundDisabled |
Drawable |
Slider.SliderStyle.backgroundDown |
Drawable |
SelectBox.SelectBoxStyle.backgroundOpen |
Drawable |
Slider.SliderStyle.backgroundOver |
Drawable |
SelectBox.SelectBoxStyle.backgroundOver |
Drawable |
CheckBox.CheckBoxStyle.checkboxOff |
Drawable |
CheckBox.CheckBoxStyle.checkboxOffDisabled |
Drawable |
CheckBox.CheckBoxStyle.checkboxOn |
Drawable |
CheckBox.CheckBoxStyle.checkboxOnDisabled |
Drawable |
CheckBox.CheckBoxStyle.checkboxOnOver |
Drawable |
CheckBox.CheckBoxStyle.checkboxOver |
Drawable |
Button.ButtonStyle.checked |
Drawable |
Button.ButtonStyle.checkedDown |
Drawable |
Button.ButtonStyle.checkedFocused |
Drawable |
Button.ButtonStyle.checkedOver |
Drawable |
ScrollPane.ScrollPaneStyle.corner |
Drawable |
TextField.TextFieldStyle.cursor |
Drawable |
Button.ButtonStyle.disabled |
Drawable |
TextField.TextFieldStyle.disabledBackground |
Drawable |
ProgressBar.ProgressBarStyle.disabledBackground
The progress bar background, stretched only in one direction.
|
Drawable |
ProgressBar.ProgressBarStyle.disabledKnob |
Drawable |
ProgressBar.ProgressBarStyle.disabledKnobAfter |
Drawable |
ProgressBar.ProgressBarStyle.disabledKnobBefore |
Drawable |
List.ListStyle.down |
Drawable |
Button.ButtonStyle.down |
Drawable |
Button.ButtonStyle.focused |
Drawable |
TextField.TextFieldStyle.focusedBackground |
Drawable |
SplitPane.SplitPaneStyle.handle |
Drawable |
ScrollPane.ScrollPaneStyle.hScroll |
Drawable |
ScrollPane.ScrollPaneStyle.hScrollKnob |
Drawable |
ImageTextButton.ImageTextButtonStyle.imageChecked |
Drawable |
ImageButton.ImageButtonStyle.imageChecked |
Drawable |
ImageTextButton.ImageTextButtonStyle.imageCheckedDown |
Drawable |
ImageButton.ImageButtonStyle.imageCheckedDown |
Drawable |
ImageTextButton.ImageTextButtonStyle.imageCheckedOver |
Drawable |
ImageButton.ImageButtonStyle.imageCheckedOver |
Drawable |
ImageTextButton.ImageTextButtonStyle.imageDisabled |
Drawable |
ImageButton.ImageButtonStyle.imageDisabled |
Drawable |
ImageTextButton.ImageTextButtonStyle.imageDown |
Drawable |
ImageButton.ImageButtonStyle.imageDown |
Drawable |
ImageTextButton.ImageTextButtonStyle.imageOver |
Drawable |
ImageButton.ImageButtonStyle.imageOver |
Drawable |
ImageTextButton.ImageTextButtonStyle.imageUp |
Drawable |
ImageButton.ImageButtonStyle.imageUp |
Drawable |
Touchpad.TouchpadStyle.knob |
Drawable |
ProgressBar.ProgressBarStyle.knob |
Drawable |
ProgressBar.ProgressBarStyle.knobAfter |
Drawable |
Slider.SliderStyle.knobAfterDown |
Drawable |
Slider.SliderStyle.knobAfterOver |
Drawable |
ProgressBar.ProgressBarStyle.knobBefore |
Drawable |
Slider.SliderStyle.knobBeforeDown |
Drawable |
Slider.SliderStyle.knobBeforeOver |
Drawable |
Slider.SliderStyle.knobDown |
Drawable |
Slider.SliderStyle.knobOver |
Drawable |
Tree.TreeStyle.minus |
Drawable |
Tree.TreeStyle.minusOver |
Drawable |
Tree.TreeStyle.over |
Drawable |
List.ListStyle.over |
Drawable |
Button.ButtonStyle.over |
Drawable |
Tree.TreeStyle.plus |
Drawable |
Tree.TreeStyle.plusOver |
Drawable |
Tree.TreeStyle.selection |
Drawable |
TextField.TextFieldStyle.selection |
Drawable |
List.ListStyle.selection |
Drawable |
Window.WindowStyle.stageBackground |
Drawable |
Button.ButtonStyle.up |
Drawable |
ScrollPane.ScrollPaneStyle.vScroll |
Drawable |
ScrollPane.ScrollPaneStyle.vScrollKnob |
| Modifier and Type | Method and Description |
|---|---|
Drawable |
Table.getBackground() |
Drawable |
Container.getBackground() |
Drawable |
Image.getDrawable() |
Drawable |
Skin.getDrawable(String name)
Returns a registered drawable.
|
Drawable |
Tree.Node.getIcon() |
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(String name)
Returns a copy of a drawable found in the skin via
Skin.getDrawable(String). |
Drawable |
Skin.newDrawable(String name,
Color tint)
Returns a tinted copy of a drawable found in the skin via
Skin.getDrawable(String). |
Drawable |
Skin.newDrawable(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 |
|---|---|
Table |
Table.background(Drawable background) |
Container<T> |
Container.background(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 |
Skin.scale(Drawable drawble)
Scales the drawable's
getLeftWidth(), getRightWidth(),
getBottomHeight(), getTopHeight(), getMinWidth(), and
getMinHeight(). |
void |
Table.setBackground(Drawable background) |
void |
Container.setBackground(Drawable background)
Sets the background drawable and adjusts the container's padding to match the 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)
Sets a new drawable for the image.
|
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.
|
Copyright © 2021. All rights reserved.