- Main Page
- Packages
- Classes
- Files
- Related Pages

- Class List
- Class Hierarchy
- Class Members

# smjg.libs.sdwf.dc.BezierSegment Struct Reference

The smjg.libs.sdwf.dc.BezierSegment structure describes a segment of a Bezier curve. More...

List of all members.

## Static Public Member Functions
Pseudo-Constructors
static BezierSegment | opCall (Point c1, Point c2, Point e)
| Constructs a BezierSegment from the given points.
## Public Attributes
Point | control1
| The first control point of the curve segment.
Point | control2
| The second control point of the curve segment.
Point | end
| The endpoint of the curve segment.

## Detailed Description

The smjg.libs.sdwf.dc.BezierSegment structure describes a segment of a Bezier curve.

The start point of the segment is not specified in this structure. Rather, it is implied by the context.

See also:
  DC.bezier, DC.bezierTo

Since:
  0.51

## Member Function Documentation

static BezierSegment smjg.libs.sdwf.dc.BezierSegment.opCall | ( | Point | c1,
|  | Point | c2,
|  | Point | e |
| ) |  |  | `[static]`

Constructs a BezierSegment from the given points.

Parameters:

  | c1 | the first control point.
  | c2 | the second control point.
  | e | the endpoint.

Returns:
  the newly constructed BezierSegment.

## Member Data Documentation

Point smjg.libs.sdwf.dc.BezierSegment.control1

The first control point of the curve segment.

Point smjg.libs.sdwf.dc.BezierSegment.control2

The second control point of the curve segment.

Point smjg.libs.sdwf.dc.BezierSegment.end

The endpoint of the curve segment.

The documentation for this struct was generated from the following file:

- dc.d