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.
EdgeForm
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.
Details
- EdgeForm[] draws no edges.
- EdgeForm works in both 2D and 3D.
- Color, opacity, thickness, and dashing directives can be used in EdgeForm.
- JoinForm can be used to specify how edge segments are joined.
- EdgeForm applies to Polygon, Disk and Rectangle objects.
- EdgeForm does not affect the rendering of Line objects.
- In Graphics, the default is to draw no edges.
- In Graphics3D, the default is to draw edges around every polygon.
- No lines are ever drawn at edges formed by one polygon intersecting another.
Examples
open all close allBasic Examples (1)
Scope (5)
Directive Specification (4)
Edges with different thickness:
Table[Graphics[{EdgeForm[Thickness[t]], LightGray, Rectangle[]}], {t, {Tiny, Small, Medium, Large}}]Table[Graphics[{EdgeForm[Dashing[d]], LightGray, Rectangle[]}], {d, {Tiny, Small, Medium, Large}}]Table[Graphics[{EdgeForm[c], LightGray, Rectangle[]}], {c, {Red, Green, Blue, Yellow}}]Edges with several styles changed:
Graphics[{EdgeForm[Directive[Thick, Dashed, Blue]], LightGray, Rectangle[]}]Primitives Affected (1)
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"]Tech Notes
Related Guides
History
Introduced in 1988 (1.0) | Updated in 2007 (6.0) ▪ 2008 (7.0)
Text
Wolfram Research (1988), EdgeForm, Wolfram Language function, https://reference.wolfram.com/language/ref/EdgeForm.html (updated 2008).
CMS
Wolfram Language. 1988. "EdgeForm." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/EdgeForm.html.
APA
Wolfram Language. (1988). EdgeForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EdgeForm.html
BibTeX
@misc{reference.wolfram_2026_edgeform, author="Wolfram Research", title="{EdgeForm}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/EdgeForm.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_edgeform, organization={Wolfram Research}, title={EdgeForm}, year={2008}, url={https://reference.wolfram.com/language/ref/EdgeForm.html}, note=[Accessed: 12-June-2026]}