|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Drawable | |
---|---|
com.badlogic.gdx.scenes.scene2d.ui | |
com.badlogic.gdx.scenes.scene2d.utils |
Uses of Drawable in com.badlogic.gdx.scenes.scene2d.ui |
---|
Fields in com.badlogic.gdx.scenes.scene2d.ui declared as Drawable | |
---|---|
Drawable |
Label.LabelStyle.background
Optional. |
Drawable |
ScrollPane.ScrollPaneStyle.background
Optional. |
Drawable |
SelectBox.SelectBoxStyle.background
|
Drawable |
Slider.SliderStyle.background
The slider background, stretched only in one direction. |
Drawable |
TextField.TextFieldStyle.background
Optional. |
Drawable |
Touchpad.TouchpadStyle.background
Stretched in both directions. |
Drawable |
Tree.TreeStyle.background
Optional. |
Drawable |
Window.WindowStyle.background
Optional. |
Drawable |
SelectBox.SelectBoxStyle.backgroundOpen
Optional. |
Drawable |
SelectBox.SelectBoxStyle.backgroundOver
Optional. |
Drawable |
CheckBox.CheckBoxStyle.checkboxOff
|
Drawable |
CheckBox.CheckBoxStyle.checkboxOn
|
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 |
Button.ButtonStyle.down
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 |
Slider.SliderStyle.knob
Optional, centered on the background. |
Drawable |
Touchpad.TouchpadStyle.knob
Optional. |
Drawable |
Slider.SliderStyle.knobAfter
Optional. |
Drawable |
Slider.SliderStyle.knobBefore
Optional. |
Drawable |
SelectBox.SelectBoxStyle.listBackground
|
Drawable |
SelectBox.SelectBoxStyle.listSelection
|
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. |
Methods in com.badlogic.gdx.scenes.scene2d.ui that return Drawable | |
---|---|
Drawable |
Table.getBackground()
|
Drawable |
Image.getDrawable()
|
Drawable |
Skin.getDrawable(java.lang.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(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) . |
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Drawable | |
---|---|
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)
Sets the background drawable and sets the table'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. |
Uses of Drawable in com.badlogic.gdx.scenes.scene2d.utils |
---|
Classes in com.badlogic.gdx.scenes.scene2d.utils that implement Drawable | |
---|---|
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. |
Constructors in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Drawable | |
---|---|
BaseDrawable(Drawable drawable)
Creates a new empty drawable with the same sizing information as the specified drawable. |
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |