({{, (RefLink[EdgeForm, paclet:ref/EdgeForm])[g]
is a graphics directive that specifies that edges of polygons and other filled graphics objects are to be drawn using the graphics directive or list of directives g. }})

OpenersNotesSection(Spacer1)Details

(RefLink[EdgeForm, paclet:ref/EdgeForm])[] draws no edges.

(RefLink[EdgeForm, paclet:ref/EdgeForm]) works in both 2D and 3D.

Color, opacity, thickness, and dashing directives can be used in (RefLink[EdgeForm, paclet:ref/EdgeForm]).

(RefLink[JoinForm, paclet:ref/JoinForm]) can be used to specify how edge segments are joined.

(RefLink[EdgeForm, paclet:ref/EdgeForm]) applies to (RefLink[Polygon, paclet:ref/Polygon]), (RefLink[Disk, paclet:ref/Disk]) and (RefLink[Rectangle, paclet:ref/Rectangle]) objects.

(RefLink[EdgeForm, paclet:ref/EdgeForm]) does not affect the rendering of (RefLink[Line, paclet:ref/Line]) objects.

In (RefLink[Graphics, paclet:ref/Graphics]), the default is to draw no edges.

In (RefLink[Graphics3D, paclet:ref/Graphics3D]), the default is to draw edges around every polygon.

No lines are ever drawn at edges formed by one polygon intersecting another.

OpenersPrimaryExamplesSection(Spacer1)Examples  (6)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Specify the style of edges and faces:

Graphics[{EdgeForm[{Thick,Blue}],FaceForm[Pink],Disk[]}]

Graphics3D[{EdgeForm[{Thick,Blue}],FaceForm[Pink],Cuboid[]},Boxed->False]

OpenersExampleSection1(Spacer1)Scope  (5)

OpenersExampleSubsection0(Spacer1)Directive Specification  (4)

Edges with different thickness:

Table[Graphics[{EdgeForm[Thickness[t]],LightGray,Rectangle[]}],{t,{Tiny,Small,Medium,Large}}]

Edges with different dashing:

Table[Graphics[{EdgeForm[Dashing[d]],LightGray,Rectangle[]}],{d,{Tiny,Small,Medium,Large}}]

Edges with different color:

Table[Graphics[{EdgeForm[c],LightGray,Rectangle[]}],{c,{Red,Green,Blue,Yellow}}]

Edges with several styles changed:

Graphics[{EdgeForm[Directive[Thick,Dashed,Blue]],LightGray,Rectangle[]}]

OpenersExampleSubsection1(Spacer1)Primitives Affected  (1)

Affected primitives:

Graphics[{EdgeForm[{Blue,Thick}],LightGray,Rectangle[]}]

Graphics[{EdgeForm[{Blue,Thick}],LightGray,Polygon[{{0,0},{1/2,1},{1,0}}]}]

Graphics3D[{EdgeForm[{Blue,Thick}],Cylinder[]},Lighting->"Neutral"]

Graphics3D[{EdgeForm[{Blue,Thick}],Polygon[{{1,0,0},{0,0,1},{1,1,1}}]},Lighting->"Neutral"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[FaceForm, paclet:ref/FaceForm])  ▪  (RefLink[Line, paclet:ref/Line])  ▪  (RefLink[Mesh, paclet:ref/Mesh])  ▪  (RefLink[Thick, paclet:ref/Thick])  ▪  (RefLink[Thin, paclet:ref/Thin])  ▪  (RefLink[JoinForm, paclet:ref/JoinForm])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Three-Dimensional Graphics Directives, paclet:tutorial/ThreeDimensionalGraphicsDirectives])}, {▪(RefLinkPlain[The Structure of Graphics, paclet:tutorial/TheStructureOfGraphics])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Graphics Directives, paclet:guide/GraphicsDirectives])}, {▪(RefLinkPlain[Colors, paclet:guide/Colors])}, {▪(RefLinkPlain[Maps & Cartography, paclet:guide/MapsAndCartography])}, {▪(RefLinkPlain[Symbolic Graphics Language, paclet:guide/SymbolicGraphicsLanguage])}, {▪(RefLinkPlain[Polygons, paclet:guide/Polygons])}, {▪(RefLinkPlain[Molecular Structure & Computation, paclet:guide/MolecularStructureAndComputation])}, {▪(RefLinkPlain[Polyhedra, paclet:guide/Polyhedra])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(WebLink[DocumentationFooterIconsRelatedLinks-EIWL.png(Spacer1)An Elementary Introduction to the Wolfram Language, https://www.wolfram.com/language/elementary-introduction/14-coordinates-and-graphics.html])(WebLink[: Coordinates and Graphics, https://www.wolfram.com/language/elementary-introduction/14-coordinates-and-graphics.html])}})}})