public class BIRTChartComputation extends java.lang.Object implements IChartComputation
| Constructor and Description |
|---|
BIRTChartComputation() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface IChartComputationChartExceptionpublic ITextMetrics getTextMetrics(IDisplayServer xs, Label la, double wrapping)
IChartComputationgetTextMetrics in interface IChartComputationpublic BoundingBox computeLabelSize(IDisplayServer xs, Label la, double dWrapping, java.lang.Double fontHeight) throws ChartException
IChartComputationcomputeLabelSize in interface IChartComputationChartExceptionpublic BoundingBox computeBox(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY) throws ChartException
IChartComputationcomputeBox in interface IChartComputationChartExceptionpublic RotatedRectangle computePolygon(IDisplayServer xs, int iLabelLocation, Label la, double dX, double dY, java.lang.Double fontHeight) throws ChartException
IChartComputationcomputePolygon in interface IChartComputationChartExceptionpublic double computeWidth(IDisplayServer xs, Label la) throws ChartException
IChartComputationcomputeWidth in interface IChartComputationChartExceptionpublic double computeHeight(IDisplayServer xs, Label la) throws ChartException
IChartComputationcomputeHeight in interface IChartComputationChartExceptionpublic void dispose()
dispose in interface IChartComputationpublic void applyWrapping(IDisplayServer xs, Label la, double dWrapping) throws ChartException
IChartComputationapplyWrapping in interface IChartComputationChartExceptionpublic void recycleTextMetrics(ITextMetrics itm)
IChartComputationrecycleTextMetrics in interface IChartComputationCopyright © 2014 OpenText Corp. All rights reserved.