|
Sweet Home 3D 4.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TextStyle | |
---|---|
com.eteks.sweethome3d.model | Describes model classes of Sweet Home 3D. |
com.eteks.sweethome3d.swing | Implements views created by Sweet Home 3D controllers with Swing components. |
com.eteks.sweethome3d.viewcontroller | Describes controller classes and view interfaces of Sweet Home 3D. |
Uses of TextStyle in com.eteks.sweethome3d.model |
---|
Methods in com.eteks.sweethome3d.model that return TextStyle | |
---|---|
TextStyle |
TextStyle.deriveBoldStyle(boolean bold)
Returns a derived style of this text style with a given bold style. |
TextStyle |
TextStyle.deriveItalicStyle(boolean italic)
Returns a derived style of this text style with a given italic style. |
TextStyle |
TextStyle.deriveStyle(float fontSize)
Returns a derived style of this text style with a given font size. |
TextStyle |
Room.getAreaStyle()
Returns the text style used to display room area. |
TextStyle |
UserPreferences.getDefaultTextStyle(Class<? extends Selectable> selectableClass)
Returns the default text style of a class of selectable item. |
TextStyle |
DimensionLine.getLengthStyle()
Returns the text style used to display dimension line length. |
TextStyle |
Room.getNameStyle()
Returns the text style used to display room name. |
TextStyle |
HomePieceOfFurniture.getNameStyle()
Returns the text style used to display piece name. |
TextStyle |
Label.getStyle()
Returns the style used to display the text of this label. |
Methods in com.eteks.sweethome3d.model with parameters of type TextStyle | |
---|---|
void |
Room.setAreaStyle(TextStyle areaStyle)
Sets the text style used to display room area. |
void |
DimensionLine.setLengthStyle(TextStyle lengthStyle)
Sets the text style used to display dimension line length. |
void |
Room.setNameStyle(TextStyle nameStyle)
Sets the text style used to display room name. |
void |
HomePieceOfFurniture.setNameStyle(TextStyle nameStyle)
Sets the text style used to display piece name. |
void |
Label.setStyle(TextStyle style)
Sets the style used to display the text of this label. |
Uses of TextStyle in com.eteks.sweethome3d.swing |
---|
Methods in com.eteks.sweethome3d.swing with parameters of type TextStyle | |
---|---|
protected Font |
PlanComponent.getFont(Font defaultFont,
TextStyle textStyle)
Returns the AWT font matching a given text style. |
protected FontMetrics |
PlanComponent.getFontMetrics(Font defaultFont,
TextStyle textStyle)
Returns the font metrics matching a given text style. |
float[][] |
PlanComponent.getTextBounds(String text,
TextStyle style,
float x,
float y,
float angle)
Returns the coordinates of the bounding rectangle of the text centered at
the point (x ,y ). |
float[][] |
MultipleLevelsPlanPanel.getTextBounds(String text,
TextStyle style,
float x,
float y,
float angle)
Returns the coordinates of the bounding rectangle of the text displayed at
the point (x ,y ). |
Uses of TextStyle in com.eteks.sweethome3d.viewcontroller |
---|
Methods in com.eteks.sweethome3d.viewcontroller with parameters of type TextStyle | |
---|---|
float[][] |
PlanView.getTextBounds(String text,
TextStyle style,
float x,
float y,
float angle)
Returns the coordinates of the bounding rectangle of the text displayed at
the point (x ,y ). |
|
Sweet Home 3D 4.0 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |