This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

FilledCurve

FilledCurve
represents a filled curve consisting of followed by etc.
FilledCurve
represents a list of separate filled component curves , , etc.
  • Possible forms of include:
Line[{pt1,pt2,...}]lines
BezierCurve[{pt1,pt2,...},...]Bézier curve
BSplineCurve[{pt1,pt2,...},...]B-spline curve
  • Filled curves can be non-convex and intersect themselves. Self-intersecting curves are filled according to an even-odd rule that alternates between filling and not at each crossing.
  • FilledCurve treats each component curve as a separate closed curve, but the filling behavior is determined as if they were part of the same curve.
  • The coordinates can be specified using:
{x,y}ordinary coordinates
Scaled[{x,y}]scaled coordinates
ImageScaled[{x,y}]image scaled coordinates
Offset[{dx,dy},{x,y}]absolute offset coordinates
  • Individual coordinates and lists of coordinates in segments can be Dynamic objects.
  • FaceForm and EdgeForm can be used to specify how the interiors and boundaries should be rendered.
  • Joining of curve segments can be specified using JoinForm.
Filled curve with a hole:
Self-intersecting filled curve:
Filled curve with mixed curve segments:
Differently styled filled curves:
Filled curve with a hole:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Self-intersecting filled curve:
In[3]:=
Click for copyable input
Out[3]=
 
Filled curve with mixed curve segments:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
 
Differently styled filled curves:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Filled curve with a single line segment:
Filled curve with a single Bézier curve segment:
Filled curve with a single B-spline curve segment:
Filled curve with mixed curve segments:
Filled curve with a hole:
Filled curve with multiple holes:
Filled curve with multiple components:
Filled curve with self-intersections:
Color directives specify the face colors of filled curves:
FaceForm and EdgeForm can be used to specify the styles of the interiors and boundaries:
JoinForm can be used to specify the type of joins of boundaries:
Use Scaled coordinates:
Use ImageScaled coordinates:
Use Offset coordinates:
Each curve segment can have its own options for fine control:
By default, a Bézier segment will be attached without considering the tangent at the joining:
Automatic can be used in the first coordinate of a Bézier segment to create a smooth joint:
Define a letter with a filled curve:
Extract a filled curve from a graphic:
Rotate the glyph around the origin:
Import text as a filled curve in graphics, using PDF as an intermediate format:
Outline fonts using different edge and face forms:
Cast the shadow by translation:
3D text effect:
Import text as a filled curve:
Create envelope functions of banners using BSplineFunction:
Define a function to rescale coordinates according to coordinates and envelope functions:
Deform the filled curves by replacing coordinates:
Display:
Create a curved edge of a tile:
Rotate it by 120° to get additional edges:
Make a single tile with Bézier curve edges using a filled curve:
Tile the plane by rotating and translating it:
Use line edges instead:
By default, each component of a filled curve closes itself by adding a line segment at the end:
On the contrary, JoinedCurve does not close the component by default:
Use the CurveClosed option to close the components in a curve:
VertexColors options specified within segments are ignored:
Random filled curves:
Waving text banner:
New in 8