All Packages Class Hierarchy This Package Previous Next Index
Class Texte3D.ObjetTexte
java.lang.Object
|
+----Texte3D.BasePov
|
+----Texte3D.LesObjets
|
+----Texte3D.ObjetTexte
- public class ObjetTexte
- extends LesObjets
A class which implements the object ObjetTexte which is the text
the user wants to add in his image.
- Author:
- Sylvain Leterreur, Laure Ottavj
texte-
ObjetTexte(Repere)
-
ObjetTexte(Repere, MonPoint3D, MaTexture, String)
-
genereCodePovRay()
- Generate the PovRay Code of the ObjetTexte object
getHauteur()
- Get the height of the text
getLargeur()
- Get the width of the text
getProfondeur()
- Get the depth of the text
getTexte()
- Get the text
setTexte(String)
- Set the text
texte
protected String texte
ObjetTexte
public ObjetTexte(Repere rep,
MonPoint3D pos,
MaTexture t,
String texte)
ObjetTexte
public ObjetTexte(Repere rep)
getTexte
public String getTexte()
- Get the text
- Returns:
- String the text
setTexte
public void setTexte(String texte)
- Set the text
- Parameters:
- String - the new text
getLargeur
public int getLargeur()
- Get the width of the text
- Returns:
- int the width
- Overrides:
- getLargeur in class BasePov
getHauteur
public int getHauteur()
- Get the height of the text
- Returns:
- int the height of the text
- Overrides:
- getHauteur in class BasePov
getProfondeur
public int getProfondeur()
- Get the depth of the text
- Returns:
- int the depth of the text
- Overrides:
- getProfondeur in class BasePov
genereCodePovRay
public String genereCodePovRay()
- Generate the PovRay Code of the ObjetTexte object
- Returns:
- String the string corresponding to the generated code
- Overrides:
- genereCodePovRay in class LesObjets
All Packages Class Hierarchy This Package Previous Next Index