|
Sweet Home 3D 3.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.eteks.sweethome3d.model.HomeTexture
public class HomeTexture
An image used as texture on home 3D objects.
| Constructor Summary | |
|---|---|
HomeTexture(TextureImage texture)
Creates a home texture from an existing one. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if the object in parameter is equal to this texture. |
float |
getHeight()
Returns the height of the image in centimeters. |
Content |
getImage()
Returns the content of the image used for this texture. |
String |
getName()
Returns the name of this texture. |
float |
getWidth()
Returns the width of the image in centimeters. |
int |
hashCode()
Returns a hash code for this texture. |
boolean |
isLeftToRightOriented()
Returns true if the objects using this texture should take into account
the orientation of the texture. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HomeTexture(TextureImage texture)
texture - the texture from which data are copied| Method Detail |
|---|
public String getName()
getName in interface TextureImagepublic Content getImage()
getImage in interface TextureImagepublic float getWidth()
getWidth in interface TextureImagepublic float getHeight()
getHeight in interface TextureImagepublic boolean isLeftToRightOriented()
true if the objects using this texture should take into account
the orientation of the texture.
public boolean equals(Object obj)
true if the object in parameter is equal to this texture.
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Sweet Home 3D 3.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
![]() |
© Copyrights 2006-2011 eTeks - All rights reserved
Distributed under GNU General Public License |