TChartRelativeRectangle.CalcRect Method
Overloads
TChartRelativeRectangle.CalcRect(TUIPointF, TUIRectangle)
Calculates the dimension of the rectangle given the parent rectangle.
Syntax
Unit: FlexCel.Core
function TChartRelativeRectangle.CalcRect(const Point: TUIPointF; const Coords: TUIRectangle): TUIRectangle; overload;
Parameters
<-> |
Parameter |
Type |
Description |
const |
Point |
TUIPointF |
Point with the default position to be used by the parent. When mode is not factor, it is not used. |
const |
Coords |
TUIRectangle |
Parent rectangle coordinates. |
See also
TChartRelativeRectangle.CalcRect(TUIPointF, TUIRectangle, Double, Double)
Calculates the absolute rectangle given the parent rectangle.
Syntax
Unit: FlexCel.Core
function TChartRelativeRectangle.CalcRect(const Point: TUIPointF; const Coords: TUIRectangle; const XDir: Double; const YDir: Double): TUIRectangle; overload;
Parameters
<-> |
Parameter |
Type |
Description |
const |
Point |
TUIPointF |
Point with the default position to be used by the parent. When mode is not factor, it is not used. |
const |
Coords |
TUIRectangle |
Parent rectangle coordinates. |
const |
XDir |
Double |
Set it to -1 to reverse the x direction, or to 1 to keep it normal. |
const |
YDir |
Double |
Set it to -1 to reverse the y direction, or to 1 to keep it normal. |
See also