CapForm[type]
線,管および関連プリミティブでどのようなタイプのキャップを使うかを指定するグラフィックスプリミティブである.
CapForm
CapForm[type]
線,管および関連プリミティブでどのようなタイプのキャップを使うかを指定するグラフィックスプリミティブである.
例題
すべて開く すべて閉じる例 (2)
スコープ (3)
Table[Graphics[{CapForm[cap], Thickness[.2], Line[{{-1, -1}, {1, 1}}]}, PlotRange -> 1.5, PlotLabel -> cap], {cap, {"Butt", "Round", "Square"}}]Table[Graphics3D[{CapForm[cap], Thickness[.1], Line[{{-1, -1, -1}, {1, 1, 1}}]}, PlotRange -> 1.5, PlotLabel -> cap], {cap, {"Butt", "Round", "Square"}}]Table[Graphics[{CapForm[cap], Thickness[.2], Circle[{0, -1}, 1, {Pi / 6, 5Pi / 6}]}, PlotRange -> 1.5, PlotLabel -> cap], {cap, {"Butt", "Round", "Square"}}]Table[Graphics3D[{CapForm[cap], Tube[{{-1, -1, -1}, {1, 1, 1}}, 0.2]}, PlotRange -> 1.5, PlotLabel -> Row[{cap}]], {cap, {None, "Butt", "Round", "Square"}}]特性と関係 (1)
おもしろい例題 (1)
With[{points = {{0, 0.3}, {-0.5, 0}, {0.5, 0}, {0.3, 0.3}}}, Graphics[{Thickness[0.1], {Blue, CapForm["Square"], JoinForm["Miter"], Line[points]}, {Green, CapForm["Round"], JoinForm["Round"], Line[points]}, {Red, CapForm["Butt"], JoinForm["Bevel"], Line[points]}}, PlotRange -> 1]]関連するガイド
テキスト
Wolfram Research (2008), CapForm, Wolfram言語関数, https://reference.wolfram.com/language/ref/CapForm.html.
CMS
Wolfram Language. 2008. "CapForm." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CapForm.html.
APA
Wolfram Language. (2008). CapForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CapForm.html
BibTeX
@misc{reference.wolfram_2026_capform, author="Wolfram Research", title="{CapForm}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/CapForm.html}", note=[Accessed: 16-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_capform, organization={Wolfram Research}, title={CapForm}, year={2008}, url={https://reference.wolfram.com/language/ref/CapForm.html}, note=[Accessed: 16-August-2026]}