|
Sweet Home 3D 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.model.TextStyle
public class TextStyle
The different attributes that defines a text style.
Constructor Summary | |
---|---|
TextStyle(float fontSize)
|
|
TextStyle(float fontSize,
boolean bold,
boolean italic)
|
Method Summary | |
---|---|
TextStyle |
deriveBoldStyle(boolean bold)
Returns a derived style of this text style with a given bold style. |
TextStyle |
deriveItalicStyle(boolean italic)
Returns a derived style of this text style with a given italic style. |
TextStyle |
deriveStyle(float fontSize)
Returns a derived style of this text style with a given font size. |
boolean |
equals(Object object)
Returns true if this text style is equal to object . |
float |
getFontSize()
Returns the font size of this text style. |
int |
hashCode()
Returns a hash code for this text style. |
boolean |
isBold()
Returns whether this text style is bold or not. |
boolean |
isItalic()
Returns whether this text style is italic or not. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextStyle(float fontSize)
public TextStyle(float fontSize, boolean bold, boolean italic)
Method Detail |
---|
public float getFontSize()
public boolean isBold()
public boolean isItalic()
public TextStyle deriveStyle(float fontSize)
public TextStyle deriveBoldStyle(boolean bold)
public TextStyle deriveItalicStyle(boolean italic)
public boolean equals(Object object)
true
if this text style is equal to object
.
equals
in class Object
public int hashCode()
hashCode
in class Object
|
Sweet Home 3D 4.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |