Movatterモバイル変換


[0]ホーム

URL:


WOLFRAM

Wolfram Language & System Documentation Center
CapForm

CapForm[type]

is a graphics primitive that specifies what type of caps should be used at the ends of lines, tubes, and related primitives.

Details
Details and OptionsDetails and Options
Examples  
Basic Examples  
Scope  
Properties & Relations  
Neat Examples  
See Also
Related Guides
History
Cite this Page

CapForm

CapForm[type]

is a graphics primitive that specifies what type of caps should be used at the ends of lines, tubes, and related primitives.

Details

  • The following types can be used inCapForm[type]:
  • "Butt"truncate at the end point
    "Round"put a half-disk at the end point
    "Square"put a half-square at the end point
    Noneequivalent to"Butt"
  • CapForm works in both 2D and 3D.
  • In 2D, the default isCapForm["Square"]. In 3D, the default isCapForm["Round"].
  • CapForm applies toLine,Tube,Circle, andArrow.
  • CapForm specifications are ignored where an arrowhead appears.
  • CapForm[None] leaves 3D shapes open at their end points.

Examples

open allclose all

Basic Examples  (2)

A rounded line cap:

A rounded tube cap:

Scope  (3)

2D and 3D line caps:

Specify caps of circular arcs:

Tube caps:

Properties & Relations  (1)

Dashing of any sort overrides theCapForm directive and effectively uses"Butt":

Specify the third argument toDashing to set a cap form for all dashes:

Neat Examples  (1)

Different line cap and join forms:

See Also

JoinForm Disk Arrowheads Thickness Dashing

Related Guides

History

Introduced in 2008(7.0)

Wolfram Research (2008), CapForm, Wolfram Language function, https://reference.wolfram.com/language/ref/CapForm.html.

Text

Wolfram Research (2008), CapForm, Wolfram Language function, 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_2025_capform, author="Wolfram Research", title="{CapForm}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/CapForm.html}", note=[Accessed: 29-November-2025]}

BibLaTeX

@online{reference.wolfram_2025_capform, organization={Wolfram Research}, title={CapForm}, year={2008}, url={https://reference.wolfram.com/language/ref/CapForm.html}, note=[Accessed: 29-November-2025]}

Top

[8]ページ先頭

©2009-2025 Movatter.jp