Package com.github.tommyettinger.textra
Class Styles.TextTooltipStyle
java.lang.Object
com.github.tommyettinger.textra.Styles.TextTooltipStyle
- Enclosing class:
- Styles
The style for a text tooltip, see
TextraTooltip
or TypingTooltip
.-
Field Summary
Modifier and TypeFieldDescriptioncom.badlogic.gdx.scenes.scene2d.utils.Drawable
float
0 means don't wrap. -
Constructor Summary
ConstructorDescriptionTextTooltipStyle
(com.badlogic.gdx.scenes.scene2d.ui.Label.LabelStyle label, com.badlogic.gdx.scenes.scene2d.utils.Drawable background) TextTooltipStyle
(com.badlogic.gdx.scenes.scene2d.ui.TextTooltip.TextTooltipStyle style) TextTooltipStyle
(Styles.LabelStyle label, com.badlogic.gdx.scenes.scene2d.utils.Drawable background) -
Method Summary
-
Field Details
-
label
-
background
@Null public com.badlogic.gdx.scenes.scene2d.utils.Drawable background -
wrapWidth
public float wrapWidth0 means don't wrap.
-
-
Constructor Details
-
TextTooltipStyle
public TextTooltipStyle() -
TextTooltipStyle
public TextTooltipStyle(Styles.LabelStyle label, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable background) -
TextTooltipStyle
public TextTooltipStyle(com.badlogic.gdx.scenes.scene2d.ui.Label.LabelStyle label, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable background) -
TextTooltipStyle
-
TextTooltipStyle
public TextTooltipStyle(com.badlogic.gdx.scenes.scene2d.ui.TextTooltip.TextTooltipStyle style)
-