FaceForm

FaceForm[g]

is a graphics directive which specifies that faces of polygons and other filled graphics objects are to be drawn using the graphics directive or list of directives g.

FaceForm[g,gback]

specifies that the front faces of three-dimensional polygons should be drawn with directives g, and the backs with directives gback.

Details

  • FaceForm[] draws no faces.
  • FaceForm works in both 2D and 3D.
  • Color, opacity, surface color directives, textures, and materials can be used in FaceForm.
  • FaceForm applies to Polygon, Disk, and Rectangle objects.
  • In three dimensions, specifications given outside of FaceForm apply to both front and back faces of polygons.
  • The front face of a polygon is defined to be the one for which the corners as you specify them are in counterclockwise order (righthand rule).
  • FaceForm[None,gback] specifies that front faces should not be drawn. »

Examples

open allclose all

Basic Examples  (2)

Specify the style of edges and faces:

Specify different properties for the front and back of faces:

Applications  (1)

Use FaceForm to specify styling for polygons generated by plot functions:

Color the inside and outside differently:

Properties & Relations  (2)

FaceForm[] is used to specify that the front faces should not be drawn:

You can use a different style for front and back faces, including None and Opacity:

Wolfram Research (1988), FaceForm, Wolfram Language function, https://reference.wolfram.com/language/ref/FaceForm.html (updated 2012).

Text

Wolfram Research (1988), FaceForm, Wolfram Language function, https://reference.wolfram.com/language/ref/FaceForm.html (updated 2012).

CMS

Wolfram Language. 1988. "FaceForm." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2012. https://reference.wolfram.com/language/ref/FaceForm.html.

APA

Wolfram Language. (1988). FaceForm. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FaceForm.html

BibTeX

@misc{reference.wolfram_2024_faceform, author="Wolfram Research", title="{FaceForm}", year="2012", howpublished="\url{https://reference.wolfram.com/language/ref/FaceForm.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_faceform, organization={Wolfram Research}, title={FaceForm}, year={2012}, url={https://reference.wolfram.com/language/ref/FaceForm.html}, note=[Accessed: 22-November-2024 ]}