Segment

Must Override

May Override

BaseSegment._getItem(index)[source]

Subclasses may override this method.

BaseSegment._get_base_offCurve()[source]

Subclasses may override this method.

BaseSegment._get_index()[source]

Subclasses may override this method.

BaseSegment._get_offCurve()[source]

Subclasses may override this method.

BaseSegment._get_onCurve()[source]

Subclasses may override this method.

BaseSegment._get_points()[source]

Subclasses may override this method.

BaseSegment._get_smooth()[source]

Subclasses may override this method.

BaseSegment._get_type()[source]

Subclasses may override this method.

BaseSegment._init(*args, **kwargs)

Subclasses may override this method.

BaseSegment._iterPoints(**kwargs)[source]

Subclasses may override this method.

BaseSegment._len(**kwargs)[source]

Subclasses may override this method.

BaseSegment._moveBy(value, **kwargs)

This is the environment implementation of BaseObject.moveBy.

value will be an iterable containing two Integer/Float values defining the x and y values to move the object by. It will have been normalized with normalizers.normalizeTransformationOffset.

Subclasses may override this method.

BaseSegment._rotateBy(value, origin=None, **kwargs)

This is the environment implementation of BaseObject.rotateBy.

value will be a Integer/Float value defining the value to rotate the object by. It will have been normalized with normalizers.normalizeRotationAngle. origin will be a Coordinate defining the point at which the rotation should orginate.

Subclasses may override this method.

BaseSegment._scaleBy(value, origin=None, **kwargs)

This is the environment implementation of BaseObject.scaleBy.

value will be an iterable containing two Integer/Float values defining the x and y values to scale the object by. It will have been normalized with normalizers.normalizeTransformationScale. origin will be a Coordinate defining the point at which the scale should orginate.

Subclasses may override this method.

BaseSegment._set_smooth(value)[source]

Subclasses may override this method.

BaseSegment._set_type(newType)[source]

Subclasses may override this method.

BaseSegment._skewBy(value, origin=None, **kwargs)

This is the environment implementation of BaseObject.skewBy.

value will be an iterable containing two Integer/Float values defining the x and y values to skew the object by. It will have been normalized with normalizers.normalizeTransformationSkewAngle. origin will be a Coordinate defining the point at which the skew should orginate.

Subclasses may override this method.

BaseSegment._transformBy(matrix, **kwargs)[source]

Subclasses may override this method.

BaseSegment.copyData(source)

Subclasses may override this method. If so, they should call the super.