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.

DetailsDetails

  • 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. »

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Specify the style of edges and faces:

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

Specify different properties for the front and back of faces:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 1988
(1.0)
| Updated in 2012
(9.0)