Package | Description |
---|---|
com.eteks.sweethome3d.model |
Describes model classes of Sweet Home 3D.
|
com.eteks.sweethome3d.swing |
Implements views created by Sweet Home 3D controllers
with Swing components.
|
com.eteks.sweethome3d.viewcontroller |
Describes controller classes and view interfaces of Sweet Home 3D.
|
Modifier and Type | Class and Description |
---|---|
class |
CatalogTexture
A texture in textures catalog.
|
class |
HomeTexture
An image used as texture on home 3D objects.
|
Modifier and Type | Method and Description |
---|---|
TextureImage |
UserPreferences.getNewWallPattern()
Returns the pattern used for new walls in plan or
null if it's not set. |
TextureImage |
Wall.getPattern()
Returns the pattern of this wall in the plan.
|
TextureImage |
PatternsCatalog.getPattern(int index)
Returns the pattern at a given
index . |
TextureImage |
PatternsCatalog.getPattern(java.lang.String name)
Returns the pattern with a given
name . |
TextureImage |
UserPreferences.getWallPattern()
Returns the wall pattern in plan used by default.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TextureImage> |
PatternsCatalog.getPatterns()
Returns the patterns list.
|
java.util.List<TextureImage> |
UserPreferences.getRecentTextures()
Returns an unmodifiable list of the recent textures.
|
Modifier and Type | Method and Description |
---|---|
void |
UserPreferences.setNewWallPattern(TextureImage newWallPattern)
Sets how new walls should be displayed in plan, and notifies
listeners of this change.
|
void |
Wall.setPattern(TextureImage pattern)
Sets the pattern of this wall in the plan, and notifies
listeners of this change.
|
void |
UserPreferences.setWallPattern(TextureImage wallPattern)
Sets how walls should be displayed in plan by default, and notifies
listeners of this change.
|
Modifier and Type | Method and Description |
---|---|
void |
UserPreferences.setRecentTextures(java.util.List<TextureImage> recentTextures)
Sets the recent colors list and notifies listeners of this change.
|
Constructor and Description |
---|
HomeTexture(TextureImage texture)
Creates a home texture from an existing one.
|
HomeTexture(TextureImage texture,
float angle)
Creates a home texture from an existing one with customized angle and offset.
|
HomeTexture(TextureImage texture,
float angle,
boolean leftToRightOriented)
Creates a home texture from an existing one with customized angle and offset.
|
HomeTexture(TextureImage texture,
float angle,
float scale,
boolean leftToRightOriented)
Creates a home texture from an existing one with customized angle and offset.
|
HomeTexture(TextureImage texture,
float xOffset,
float yOffset,
float angle,
float scale,
boolean leftToRightOriented)
Creates a home texture from an existing one with customized parameters.
|
HomeTexture(TextureImage texture,
float xOffset,
float yOffset,
float angle,
float scale,
boolean fittingArea,
boolean leftToRightOriented)
Creates a home texture from an existing one with customized parameters.
|
Wall(float xStart,
float yStart,
float xEnd,
float yEnd,
float thickness,
float height,
TextureImage pattern)
Creates a wall from (
xStart ,yStart )
to (xEnd , yEnd ),
with given thickness, height and pattern. |
Wall(java.lang.String id,
float xStart,
float yStart,
float xEnd,
float yEnd,
float thickness,
float height,
TextureImage pattern)
Creates a wall from (
xStart ,yStart )
to (xEnd , yEnd ),
with given thickness, height and pattern. |
Constructor and Description |
---|
PatternsCatalog(java.util.List<TextureImage> patterns)
Creates a patterns catalog.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
SwingTools.getPatternImage(TextureImage pattern,
java.awt.Color backgroundColor,
java.awt.Color foregroundColor)
Returns the image matching a given pattern.
|
Modifier and Type | Method and Description |
---|---|
TextureImage |
UserPreferencesController.getNewWallPattern()
Returns the edited new wall top pattern in plan.
|
TextureImage |
WallController.getPattern()
Returns the pattern of edited wall in plan.
|
TextureImage |
UserPreferencesController.getWallPattern()
Returns the default walls top pattern in plan.
|
Modifier and Type | Method and Description |
---|---|
void |
TextureChoiceController.addRecentTexture(TextureImage texture)
Adds the given
texture to the recent textures set. |
void |
UserPreferencesController.setNewWallPattern(TextureImage newWallPattern)
Sets the edited new wall top pattern in plan, and notifies
listeners of this change.
|
void |
WallController.setPattern(TextureImage pattern)
Sets the pattern of edited wall in plan, and notifies
listeners of this change.
|
void |
UserPreferencesController.setWallPattern(TextureImage wallPattern)
Sets default walls top pattern in plan, and notifies
listeners of this change.
|
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License