Package | Description |
---|---|
com.badlogic.gdx.scenes.scene2d.ui | |
com.badlogic.gdx.scenes.scene2d.utils |
Modifier and Type | Field and Description |
---|---|
Drawable |
Window.WindowStyle.background
Optional.
|
Drawable |
Tree.TreeStyle.background
Optional.
|
Drawable |
Touchpad.TouchpadStyle.background
Stretched in both directions.
|
Drawable |
TextTooltip.TextTooltipStyle.background
Optional.
|
Drawable |
TextField.TextFieldStyle.background
Optional.
|
Drawable |
SelectBox.SelectBoxStyle.background
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.background
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.background
The progress bar background, stretched only in one direction.
|
Drawable |
List.ListStyle.background
Optional.
|
Drawable |
Label.LabelStyle.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 |
TextField.TextFieldStyle.disabledBackground
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.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 |
TextField.TextFieldStyle.focusedBackground
Optional.
|
Drawable |
SplitPane.SplitPaneStyle.handle |
Drawable |
ScrollPane.ScrollPaneStyle.hScroll
Optional.
|
Drawable |
ScrollPane.ScrollPaneStyle.hScrollKnob
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageChecked
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageChecked
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageCheckedOver
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageCheckedOver
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageDisabled
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageDisabled
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageDown
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageDown
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageOver
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageOver
Optional.
|
Drawable |
ImageTextButton.ImageTextButtonStyle.imageUp
Optional.
|
Drawable |
ImageButton.ImageButtonStyle.imageUp
Optional.
|
Drawable |
Touchpad.TouchpadStyle.knob
Optional.
|
Drawable |
ProgressBar.ProgressBarStyle.knob
Optional, centered on the background.
|
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 |
Tree.TreeStyle.over
Optional.
|
Drawable |
Button.ButtonStyle.over
Optional.
|
Drawable |
Tree.TreeStyle.plus |
Drawable |
Tree.TreeStyle.selection
Optional.
|
Drawable |
TextField.TextFieldStyle.selection
Optional.
|
Drawable |
List.ListStyle.selection |
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 |
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 |
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) |
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 © 2016. All rights reserved.