UI_Polyline

   <task pointer> = UI_Polyline( <parent pointer>, <order>, <max-point-count>)

引数

  • <parent pointer> 親UIのポインタ
  • <order> 表示プライオリティ
  • <max-point-count> 最大頂点数

戻り値

  • <task pointer> 生成された UI_Polyline タスクのポインタ

解説

複数の頂点間を線分で結び、折れ線を描画する。

コマンド

UI_POLYLINE_SET_POINTCOUNT
起動時に指定した最大頂点数を超えない範囲で、頂点数を指定する。
  • UI_POLYLINE_SET_POINTCOUNT
       pPolyline = UI_Polyline(...)
       sysCommand(pPolyline, UI_POLYLINE_SET_POINTCOUNT, <point-count>)
    
UI_POLYLINE_SET_COLOR
Polylineの表示色を設定する
  • UI_POLYLINE_SET_COLOR
       pPolyline = UI_Polyline(...)
       sysCommand(pPolyline , UI_POLYLINE_SET_COLOR, <alpha>, <rgb>)
    
UI_POLYLINE_SET_POINT
<point-index>で指定される頂点の座標を設定する。
  • UI_POLYLINE_SET_POINT
       pPolyline = UI_Polyline(...)
       sysCommand(pPolyline , UI_POLYLINE_SET_POINT, <point-index>, <x>, <y>)