Point

Note

This object is not a subclass of BaseObject and therefore it does not produce notifications or have any parent attributes. This may change in the future.

Tasks

Position

Move

Point

class defcon.Point((x, y), segmentType=None, smooth=False, name=None)

This object represents a single point.

segmentType

The segment type. The positibilies are move, line, curve, qcurve and None (indicating that this is an off-curve point).

x

The x coordinate.

y

The y coordinate.

smooth

A boolean indicating the smooth state of the point.

name

An arbitrary name for the point.

move((x, y))

Move the component by (x, y).