|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IChartComputation
Method Summary | |
---|---|
void |
applyWrapping(IDisplayServer xs,
Label la,
double dWapping)
Apply the wrapping to a label. |
BoundingBox |
computeBox(IDisplayServer xs,
int iLabelLocation,
Label la,
double dX,
double dY)
Compute the bounding box ( location and size ) of a label. |
double |
computeFontHeight(IDisplayServer xs,
Label la)
Convenient method to compute the font's height of a label. |
double |
computeHeight(IDisplayServer xs,
Label la)
Compute the height of a label. |
BoundingBox |
computeLabelSize(IDisplayServer xs,
Label la,
double dWrapping,
java.lang.Double fontHeight)
Compute the size of a label. |
RotatedRectangle |
computePolygon(IDisplayServer xs,
int iLabelLocation,
Label la,
double dX,
double dY,
java.lang.Double fontHeight)
Compute the bounding polygon of a label. |
double |
computeWidth(IDisplayServer xs,
Label la)
Compute the width of a label. |
void |
dispose()
|
ITextMetrics |
getTextMetrics(IDisplayServer xs,
Label la,
double wrapping)
Returns a text metrics. |
void |
recycleTextMetrics(ITextMetrics itm)
Dispose the text metrics. |
Method Detail |
---|
void dispose()
ITextMetrics getTextMetrics(IDisplayServer xs, Label la, double wrapping)
xs
- la
- wrapping
-
void recycleTextMetrics(ITextMetrics itm)
itm
- double computeFontHeight(IDisplayServer xs, Label la) throws ChartException
xs
- la
-
ChartException
BoundingBox computeLabelSize(IDisplayServer xs, Label la, double dWrapping, java.lang.Double fontHeight) throws ChartException
xs
- la
- dWrapping
- fontHeight
-
ChartException
BoundingBox computeBox(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY) throws ChartException
xs
- iLabelLocation
- la
- dX
- dY
-
ChartException
RotatedRectangle computePolygon(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY, java.lang.Double fontHeight) throws ChartException
xs
- iLabelLocation
- la
- dX
- dY
- fontHeight
-
ChartException
double computeWidth(IDisplayServer xs, Label la) throws ChartException
xs
- la
-
ChartException
double computeHeight(IDisplayServer xs, Label la) throws ChartException
xs
- la
-
ChartException
void applyWrapping(IDisplayServer xs, Label la, double dWapping) throws ChartException
xs
- la
- dWapping
-
ChartException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |