Class Baseboard
Defined in: SweetHome3D.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Baseboard(thickness, height, color, texture)
Creates a baseboard.
|
Method Attributes | Method Name and Description |
---|---|
equals(object)
Returns
true if this baseboard is equal to object . |
|
getColor()
Returns the color of this baseboard.
|
|
Returns the height of this baseboard.
|
|
<static> |
Baseboard.getInstance(thickness, height, color, texture)
Returns an instance of this class matching the given parameters.
|
Returns the texture of this baseboard.
|
|
Returns the thickness of this baseboard.
|
|
hashCode()
Returns a hash code for this baseboard.
|
Class Detail
Baseboard(thickness, height, color, texture)
Creates a baseboard.
Author: Emmanuel Puybaret.
Author: Emmanuel Puybaret.
- Parameters:
- {number} thickness
- {number} height
- {number} color
- {HomeTexture} texture
Method Detail
{boolean}
equals(object)
Returns
true
if this baseboard is equal to object
.
- Parameters:
- {Object} object
- Returns:
- {boolean}
{number}
getColor()
Returns the color of this baseboard.
- Returns:
- {number}
{number}
getHeight()
Returns the height of this baseboard.
- Returns:
- {number}
<static>
{Baseboard}
Baseboard.getInstance(thickness, height, color, texture)
Returns an instance of this class matching the given parameters.
- Parameters:
- {number} thickness
- {number} height
- {number} color
- {HomeTexture} texture
- Returns:
- {Baseboard}
{HomeTexture}
getTexture()
Returns the texture of this baseboard.
- Returns:
- {HomeTexture}
{number}
getThickness()
Returns the thickness of this baseboard.
- Returns:
- {number}
{number}
hashCode()
Returns a hash code for this baseboard.
- Returns:
- {number}