{<entity> = } bezier {
    <pcommand>
    ...
}
Creates a polyline graphic entity, or a series of points forming a Bezier curve from a set of control points.
<entity>
An entity or gstructure identifier. The lines entity will be given this name.
<pcommand>
A command line containing either:
a language command to be executed normally, which may or may not generate spline control points, or
a series of point expressions separated by commas defining spline control points.
-alph=<num>
      An alpha transparency factor between 0 and 1. A value 1 implies fully opaque, 
      0 means fully transparent (therefore invisible). The default is 1.
-ap=<num>
Number of line approximations for each span of the curve between control points. 
 If omitted, the value 10 is used.
-br=<num>
      A brightness factor between -1 and +1. A value 0 means normal, -1 means 
      very dark (black), +1 means very bright (white). The default is 1.
-col=<color>
The color of the lines. If included, this will override any color defined 
 in the linestyle (-ls). If omitted, the value 
 no_change is used.
-ec1=<text>
The end condition at the start of the curve. Possible values for <text> are:
R
Relaxed end condition (the default)
CL
Clamped end condition
CY
Cyclic end condition
A
Anti-cyclic end condition
-ec2=<text>
The end condition at the finish of the curve. Possible values for <text> are:
R  | 
		Relaxed end condition  | 
	
CL  | 
		Clamped end condition  | 
	
The default value will be the value for -ec1. This option should not be present if the start condition is Cyclic or Anti-cyclic.
-fr=<num>
Define a fragment number for the entity. If omitted, the default fragment def_fragment is used.
-g=<groups>
The graphic groups of which the entity is to be a part.
-ls=<linestyle> | <color>
The linestyle of the lines. This 
 may be a linestyle or a color. If omitted, the current modeling color 
 (def_color) is used.
-op=<ident>
A point identifier into which points along the spline are to be recorded. This 
 option is not available when an entity is being created. If 
 <ident> does not exist a new point array is created using 
 current scope rules.
-ra=<num>
Define a rank for the entity. If omitted, the default rank def_rank 
 is used.
-th=<num>
The thickness of the lines. If included, this will override any thickness defined in 
 the linestyle (-ls).
-t1=<point>
A tangent vector defining the direction at the curve start. <point> may be an absolute 
 or relative direction phrase. This option applies to Relaxed and Clamped 
 end conditions only. If omitted, the +X direction is assumed.
-t2=<point>
A tangent vector defining the direction at the curve finish. <point> may be an absolute 
 or relative direction phrase. This option applies to Relaxed and Clamped 
 end conditions only. If omitted, the +X direction is assumed.
If the command has the form <entity> = bezier, an entity is always created.
If the command has no entity assignment, then an entity will be created only if the -op option is not used, or the command is not within another entity creation block, e.g. lines, polygon.
A Bezier curve passes through all control points.
Create an unnamed polyline entity from a set of control points defined interactively.
bezier -ap=20 { pseries }
Create a named polyline entity.
entity my_spline = bezier -col=green { pseries }
Store curve points into an array (no entity created).
point cps[] bezier -ap=5, -op=cps { pseries }
Add spline points during creation of a lines entity.
lines -no_draw {
    gc, e:1000, n:200
    bezier {
        gc; loop 3 { e:100&n:100, w:100&n:100 }
    }
    n:200, w:1000, r
}
| 
 Commands:  | 
|
| 
 Identifiers:  | 
 def_color (color), def_fragment (numeric)  | 
| 
 Structures:  | 
 entity (lines)  |