public class BIRTChartComputation extends java.lang.Object implements IChartComputation
| 构造器和说明 |
|---|
BIRTChartComputation() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
applyWrapping(IDisplayServer xs,
Label la,
double dWrapping)
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.
|
public double computeFontHeight(IDisplayServer xs, Label la) throws ChartException
IChartComputationcomputeFontHeight 在接口中 IChartComputationChartExceptionpublic ITextMetrics getTextMetrics(IDisplayServer xs, Label la, double wrapping)
IChartComputationgetTextMetrics 在接口中 IChartComputationpublic BoundingBox computeLabelSize(IDisplayServer xs, Label la, double dWrapping, java.lang.Double fontHeight) throws ChartException
IChartComputationcomputeLabelSize 在接口中 IChartComputationChartExceptionpublic BoundingBox computeBox(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY) throws ChartException
IChartComputationcomputeBox 在接口中 IChartComputationChartExceptionpublic RotatedRectangle computePolygon(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY, java.lang.Double fontHeight) throws ChartException
IChartComputationcomputePolygon 在接口中 IChartComputationChartExceptionpublic double computeWidth(IDisplayServer xs, Label la) throws ChartException
IChartComputationcomputeWidth 在接口中 IChartComputationChartExceptionpublic double computeHeight(IDisplayServer xs, Label la) throws ChartException
IChartComputationcomputeHeight 在接口中 IChartComputationChartExceptionpublic void dispose()
dispose 在接口中 IChartComputationpublic void applyWrapping(IDisplayServer xs, Label la, double dWrapping) throws ChartException
IChartComputationapplyWrapping 在接口中 IChartComputationChartExceptionpublic void recycleTextMetrics(ITextMetrics itm)
IChartComputationrecycleTextMetrics 在接口中 IChartComputationCopyright © 2005-2008 Actuate Corp. All rights reserved.