|
Sweet Home 3D 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.eteks.sweethome3d.model.BackgroundImage
public class BackgroundImage
The image displayed in background of the plan.
Constructor Summary | |
---|---|
BackgroundImage(Content image,
float scaleDistance,
float scaleDistanceXStart,
float scaleDistanceYStart,
float scaleDistanceXEnd,
float scaleDistanceYEnd,
float xOrigin,
float yOrigin)
Creates a visible background image. |
|
BackgroundImage(Content image,
float scaleDistance,
float scaleDistanceXStart,
float scaleDistanceYStart,
float scaleDistanceXEnd,
float scaleDistanceYEnd,
float xOrigin,
float yOrigin,
boolean visible)
Creates a background image. |
Method Summary | |
---|---|
Content |
getImage()
Returns the image content of this background image. |
float |
getScale()
Returns the scale of this image. |
static float |
getScale(float scaleDistance,
float scaleDistanceXStart,
float scaleDistanceYStart,
float scaleDistanceXEnd,
float scaleDistanceYEnd)
Returns the scale equal to scaleDistance divided
by the distance between the points
(scaleDistanceXStart , scaleDistanceYStart )
and (scaleDistanceXEnd , scaleDistanceYEnd ). |
float |
getScaleDistance()
Returns the distance used to compute the scale of this image. |
float |
getScaleDistanceXEnd()
Returns the abcissa of the end point used to compute the scale of this image. |
float |
getScaleDistanceXStart()
Returns the abcissa of the start point used to compute the scale of this image. |
float |
getScaleDistanceYEnd()
Returns the ordinate of the end point used to compute the scale of this image. |
float |
getScaleDistanceYStart()
Returns the ordinate of the start point used to compute the scale of this image. |
float |
getXOrigin()
Returns the origin abscissa of this image. |
float |
getYOrigin()
Returns the origin ordinate of this image. |
boolean |
isVisible()
Returns true if this image is visible in plan. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BackgroundImage(Content image, float scaleDistance, float scaleDistanceXStart, float scaleDistanceYStart, float scaleDistanceXEnd, float scaleDistanceYEnd, float xOrigin, float yOrigin)
public BackgroundImage(Content image, float scaleDistance, float scaleDistanceXStart, float scaleDistanceYStart, float scaleDistanceXEnd, float scaleDistanceYEnd, float xOrigin, float yOrigin, boolean visible)
Method Detail |
---|
public Content getImage()
public float getScaleDistance()
public float getScaleDistanceXStart()
public float getScaleDistanceYStart()
public float getScaleDistanceXEnd()
public float getScaleDistanceYEnd()
public float getScale()
public static float getScale(float scaleDistance, float scaleDistanceXStart, float scaleDistanceYStart, float scaleDistanceXEnd, float scaleDistanceYEnd)
scaleDistance
divided
by the distance between the points
(scaleDistanceXStart
, scaleDistanceYStart
)
and (scaleDistanceXEnd
, scaleDistanceYEnd
).
public float getXOrigin()
public float getYOrigin()
public boolean isVisible()
true
if this image is visible in plan.
|
Sweet Home 3D 4.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
![]() |
© Copyrights 2006-2013 eTeks - All rights reserved
Distributed under GNU General Public License |