public interface IChartComputation
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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 - ChartExceptionBoundingBox computeLabelSize(IDisplayServer xs, Label la, double dWrapping, java.lang.Double fontHeight) throws ChartException
xs - la - dWrapping - fontHeight - ChartExceptionBoundingBox computeBox(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY) throws ChartException
xs - iLabelLocation - la - dX - dY - ChartExceptionRotatedRectangle computePolygon(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY, java.lang.Double fontHeight) throws ChartException
xs - iLabelLocation - la - dX - dY - fontHeight - ChartExceptiondouble computeWidth(IDisplayServer xs, Label la) throws ChartException
xs - la - ChartExceptiondouble computeHeight(IDisplayServer xs, Label la) throws ChartException
xs - la - ChartExceptionvoid applyWrapping(IDisplayServer xs, Label la, double dWapping) throws ChartException
xs - la - dWapping - ChartExceptionCopyright © 2005-2008 Actuate Corp. All rights reserved.