fullseye

arc — ANNOTATE shape op

使い方

円弧。角度は画面の x 軸から時計回り(row が下向きだから)で度。

Raises

ValueError radius が非正、角度が非有限、start == end、alpha が [0,1] の外。

描画: 中心からの距離 d|d - radius| <= max(0.6, width/2) で、かつ 画素の方位角が start_deg から時計回りに (end_deg - start_deg) mod 360 の 範囲にある画素を塗る(アンチエイリアス無し)。方位角は atan2(y - cy, x - cx) で、0 度 = 右(+x)、90 度 = 下(+y)、時計回りが正。

角度を書き込む学術図の作法は annotate_angle が引き出し文字まで面倒を見る。

詳しい使い方ガイド

背景知識ガイド(この op の手前にある物理・規約)

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(image2d を入力に取れる)

text_box · arrow · leader_line · label_points · crosshair · legend_box · color_bar · scale_bar

同カテゴリ(shape)

rounded_rect · filled_polygon · ellipse


Provenance: annotate.py — ANNOTATE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.