JoinForm

JoinForm[type]

is a graphics directive that specifies what type of joins should be used to connect segments of lines, tubes, edges, and related primitives.

Details

  • The following types can be used in JoinForm[type]:
  • "Bevel"truncate the corner
    "Miter"extend the corner toward a point
    {"Miter",d}extend by at most d times the line width
    "Round"cover the corner with a disk
    Nonedo not join segments
  • JoinForm works in both 2D and 3D.
  • In 2D, the default is JoinForm[{"Miter",3.25}]. In 3D, the default is JoinForm["Round"].
  • JoinForm[{"Miter",1/Sin[θ/2]}] gives sharp corners for any join angle larger than θ.
  • JoinForm can be used inside EdgeForm.

Examples

open allclose all

Basic Examples  (2)

A rounded line join:

In[1]:=
Click for copyable input
Out[1]=

A rounded tube join:

In[1]:=
Click for copyable input
Out[1]=

Scope  (3)

Neat Examples  (1)

See Also

CapForm  EdgeForm  Line  Polygon  Thickness

Introduced in 2008
(7.0)