|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object standup.clouds.ShapeDetails
public class ShapeDetails
Field Summary | |
---|---|
private double |
canvasHeightRatio
The height of the BubbleLabel canvas area, defined as a ratio of the image height. |
private double |
canvasWidthRatio
The width of the BubbleLabel canvas area, defined as a ratio of the image width. |
private double |
canvasXOffset
The horizontal offset, starting from the top left corner (0,0) of the image, where the BubbleLabel canvas area starts. |
private double |
canvasYOffset
The vertical offset, starting from the top left corner (0,0) of the image, where the BubbleLabel canvas area starts. |
private float |
fontSizeFirstGuess
|
private String |
imageFile
|
private String |
imageFileHighlighted
|
private double |
locusXOffset
|
private double |
locusYOffset
|
Constructor Summary | |
---|---|
ShapeDetails(String i,
String ih,
double lxo,
double lyo,
double cwr,
double chr,
double cxo,
double cyo,
float fsfg)
|
|
ShapeDetails(String i,
String ih,
double cwr,
double chr,
double cxo,
double cyo,
float fsfg)
constructor with default image locus: at the centre point |
Method Summary | |
---|---|
double |
getCanvasHeightRatio()
|
double |
getCanvasWidthRatio()
|
double |
getCanvasXOffset()
|
double |
getCanvasYOffset()
|
float |
getFontSizeFirstGuess()
|
String |
getImageFile()
|
String |
getImageFileHighlighted()
|
double |
getLocusXOffset()
|
double |
getLocusYOffset()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final String imageFile
private final String imageFileHighlighted
private final double locusXOffset
private final double locusYOffset
private final double canvasWidthRatio
private final double canvasHeightRatio
private final double canvasXOffset
private final double canvasYOffset
private final float fontSizeFirstGuess
Constructor Detail |
---|
ShapeDetails(String i, String ih, double lxo, double lyo, double cwr, double chr, double cxo, double cyo, float fsfg)
ShapeDetails(String i, String ih, double cwr, double chr, double cxo, double cyo, float fsfg)
i
- image filenameih
- image filename (highlighted)cwr
- canvas width ratio (in terms of image width)chr
- canvas height ratio (in terms of image height)cxo
- canvas x=0 offset (in terms of image width)cyo
- canvas y=0 offset (in terms of image height)fsfg
- Method Detail |
---|
public double getCanvasHeightRatio()
public double getCanvasWidthRatio()
public double getCanvasXOffset()
public double getCanvasYOffset()
public String getImageFile()
public String getImageFileHighlighted()
public float getFontSizeFirstGuess()
public double getLocusXOffset()
public double getLocusYOffset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |