|
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(java.lang.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. |
java.lang.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 copiedMethod Detail |
---|
public java.lang.String getName()
getName
in interface TextureImage
public Content getImage()
getImage
in interface TextureImage
public float getWidth()
getWidth
in interface TextureImage
public float getHeight()
getHeight
in interface TextureImage
public boolean isLeftToRightOriented()
true
if the objects using this texture should take into account
the orientation of the texture.
public boolean equals(java.lang.Object obj)
true
if the object in parameter is equal to this texture.
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.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 |