Package | Description |
---|---|
com.eteks.sweethome3d.model |
Describes model classes of Sweet Home 3D.
|
com.eteks.sweethome3d.viewcontroller |
Describes controller classes and view interfaces of Sweet Home 3D.
|
Modifier and Type | Method and Description |
---|---|
TextStyle.Alignment |
TextStyle.getAlignment()
Returns the alignment applied on text using this style.
|
static TextStyle.Alignment |
TextStyle.Alignment.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextStyle.Alignment[] |
TextStyle.Alignment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
TextStyle |
TextStyle.deriveStyle(TextStyle.Alignment alignment)
Returns a derived style of this text style with a given alignment.
|
Constructor and Description |
---|
TextStyle(java.lang.String fontName,
float fontSize,
boolean bold,
boolean italic,
TextStyle.Alignment alignment)
Creates a text style from its font's name, its size, style and alignment.
|
Modifier and Type | Method and Description |
---|---|
TextStyle.Alignment |
LabelController.getAlignment()
Returns the edited text alignment.
|
Modifier and Type | Method and Description |
---|---|
void |
LabelController.setAlignment(TextStyle.Alignment alignment)
Sets the edited text alignment.
|
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License