AbstractGraph
class AbstractGraph
Graph 共通クラス.
Properties
| $arrRGB | |||
| $arrColor | |||
| $arrDarkColor | |||
| $image | |||
| $left | |||
| $top | |||
| $shade_color | |||
| $flame_color | |||
| $shade_on | |||
| $text_color | |||
| $labelbg_color | |||
| $bgw | |||
| $bgh | |||
| $clabelbg_color | |||
| $title_color | |||
| $text_top | |||
| $mark_color | |||
| $arrLegend | |||
| $ARR_GRAPH_RGB | グラフ背景 | ||
| $ARR_BG_COLOR | 背景色 | ||
| $ARR_SHADE_COLOR | 影の色 | ||
| $ARR_FLAME_COLOR | 縁の色 | ||
| $ARR_TEXT_COLOR | 文字色 | ||
| $ARR_LABELBG_COLOR | ラベル背景 | ||
| $ARR_LEGENDBG_COLOR | 凡例背景 | ||
| $ARR_TITLE_COLOR | タイトル文字色 | ||
| $ARR_GRID_COLOR | グリッド線色 |
Methods
__construct($bgw, $bgh, $left, $top)
No description
resampled()
No description
setColorList($arrRGB)
No description
setShadeOn($shade_on)
No description
outputGraph($header = true, $filename = '')
No description
getTextWidth($text, $font_size)
No description
setText($font_size, $left, $top, $text, $color = NULL, $angle, $labelbg = false)
No description
drawTitle($text, $font_size = TITLE_FONT_SIZE)
No description
debugPrint($text)
No description
drawLegend($legend_max = '', $clabelbg = true)
No description
drawClabelBG($left, $top, $right, $bottom)
No description
setLegend($arrLegend)
No description
void
init()
クラスの初期化を行う.
double[]
lfGetArcPos($cx, $cy, $cw, $ch, $e)
円の中心点と直径から弧の終端座標を算出する.
lfImageText($dst_image, $text, $font_size, $left, $top, $font, $arrRGB)
画像にテキストを描画する
lfGetImageColor($image, $array)
表示色の取得
lfGetImageDarkColor($image, $array)
影用表示色の取得
Details
at line 184
__construct($bgw, $bgh, $left, $top)
at line 214
resampled()
at line 225
setColorList($arrRGB)
at line 240
setShadeOn($shade_on)
at line 246
outputGraph($header = true, $filename = '')
at line 262
getTextWidth($text, $font_size)
at line 281
setText($font_size, $left, $top, $text, $color = NULL, $angle, $labelbg = false)
at line 318
drawTitle($text, $font_size = TITLE_FONT_SIZE)
at line 328
debugPrint($text)
at line 340
drawLegend($legend_max = '', $clabelbg = true)
at line 396
drawClabelBG($left, $top, $right, $bottom)
at line 408
setLegend($arrLegend)
at line 421
void
init()
クラスの初期化を行う.
表示色をメンバ変数にセットする.
at line 463
double[]
lfGetArcPos($cx, $cy, $cw, $ch, $e)
円の中心点と直径から弧の終端座標を算出する.
at line 476
lfImageText($dst_image, $text, $font_size, $left, $top, $font, $arrRGB)
画像にテキストを描画する
at line 487
lfGetImageColor($image, $array)
表示色の取得
at line 498
lfGetImageDarkColor($image, $array)
影用表示色の取得