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 (right-hand 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]=
New in 1 | Last modified in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »