Uses of Class
tripleplay.ui.Background
-
Uses of Background in tripleplay.ui
Modifier and TypeFieldDescriptionstatic final Style<Background>
Style.BACKGROUND
The background for an element.static Style<Background>
Slider.BAR_BACKGROUND
The background that renders the bar (defaults to a black rectangle).static Style<Background>
Slider.BAR_ON_BACKGROUND
The background that renders the "on" part of the bar, if it should be different from the default bar background.Modifier and TypeMethodDescriptionBackground.alpha
(float alpha) Configures the alpha transparency of this background.static Background
Background.beveled
(int bgColor, int ulColor, int brColor) Creates a beveled background with the specified colors.static Background
Background.blank()
Creates a null background (transparent).static Background
Background.bordered
(int bgColor, int color, float thickness) Creates a bordered background with the specified colors and thickness.static Background
Creates a centered background with the specified texture tile.static Background
Background.composite
(Background... constituents) Creates a composite background with the specified backgrounds.static Background
Creates a cropped centered background with the specified texture tile.static Background
Background.image
(TileSource source) Creates a background with the specified source.Background.inset
(float uniformInset) Configures uniform insets on this background.Background.inset
(float horiz, float vert) Configures horizontal and vertical insets on this background.Background.inset
(float top, float right, float bottom, float left) Configures non-uniform insets on this background.Background.insetBottom
(float bottom) Sets the bottom inset for this background.Background.insetLeft
(float left) Sets the left inset for this background.Background.insetRight
(float right) Sets the right inset for this background.Configures insets on this background.Background.insetTop
(float top) Sets the top inset for this background.Background.Instance.owner()
Returns the background that created this instance.static Background
Creates a round rect background with the specified color and corner radius.static Background
Background.roundRect
(Graphics gfx, int bgColor, float cornerRadius, int borderColor, float borderWidth) Creates a round rect background with the specified parameters.static Background
Background.solid
(int color) Creates a solid background of the specified color.static Background
Creates a tiled background with the specified texture.Modifier and TypeMethodDescriptionstatic Background
Background.composite
(Background... constituents) Creates a composite background with the specified backgrounds.static Background.Instance
Background.instantiate
(Background delegate, pythagoras.f.IDimension size) Instantiates a background at the supplied size. -
Uses of Background in tripleplay.ui.bgs
Modifier and TypeClassDescriptionclass
A background that displays nothing.class
A background consisting of multiple other backgrounds.class
Draws a rounded rectangle with optional border as a background.class
A background constructed by scaling the parts of a source image to fit the target width and height.ModifierConstructorDescriptionCompositeBackground
(Background... constituents) Creates a new composite background with the given constituents.