Label
classin packageklyn.gui.windows
public class Label extends Widget:
Static text label.
Labels use the widget font stack so they integrate with modern form
controls.
lbl = Label("First name")
Properties
| Modifier and Type |
Member |
Description |
| public property |
text |
No summary. |
Properties inherited from Widget: accentColor,
backgroundColor,
borderColor,
bottom,
canFocus,
cornerRadius,
font,
foregroundColor,
hasFocus,
height,
isEnabled,
isHovered,
isManaged,
isVisible,
layoutParams,
margin,
maxHeight,
maxWidth,
minHeight,
minWidth,
parent,
preferredHeight,
preferredWidth,
right,
styleClass,
width,
window,
x,
y
Constructors
| Modifier and Type |
Member |
Description |
| public |
Label |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public override |
paint |
Paints the label content with antialiased text. |