PtBezier

PtBezier — A bezier curve.

Synopsis

class PtBezier PtGraphic
{
    bezier_flags;    // flag  (Pt_ARG_BEZIER_FLAGS)    
}
		

Base Classes

PtWidget <-- PtBasic <-- PtGraphic <-- PtBezier

Description

This widget creates a bezier curve, most of whose characteristics can be specified with variables from the PtWidget, PtBasic, and PtGraphic classes.

[Note]

For detailed information, please refer to PtBezier in the Photon documentation.

Instance Variables

bezier_flags

Flags that control various characteristics of the curve. Default is nil.

This instance variable may be a combination of zero or more of the following flags:

ConstantDescription
Pg_DRAW_STROKEStrokes the curve.
Pg_DRAW_FILLFills the curve.
Pg_DRAW_FILL_STROKEFills and strokes the curve.
Pg_CLOSEDThe end point is connected to the start point.
Pg_RELATIVEUse relative coordinates for drawing.