Point

Must Override

BasePoint._get_identifier()

This is the environment implementation of BaseObject.identifier. This must return an Identifier. If the native object does not have an identifier assigned one should be assigned and returned.

Subclasses must override this method.

BasePoint._get_name()

This is the environment implementation of BasePoint.name. This must return a String or None. The returned value will be normalized with normalizers.normalizePointName.

Subclasses must override this method.

BasePoint._get_smooth()

This is the environment implementation of BasePoint.smooth. This must return a bool indicating the smooth state.

Subclasses must override this method.

BasePoint._get_type()

This is the environment implementation of BasePoint.type. This must return a String defining the point type.

Subclasses must override this method.

BasePoint._get_x()

This is the environment implementation of BasePoint.x. This must return an Integer/Float.

Subclasses must override this method.

BasePoint._get_y()

This is the environment implementation of BasePoint.y. This must return an Integer/Float.

Subclasses must override this method.

BasePoint._set_name(value)

This is the environment implementation of BasePoint.name. value will be a String or None. It will have been normalized with normalizers.normalizePointName.

Subclasses must override this method.

BasePoint._set_smooth(value)

This is the environment implementation of BasePoint.smooth. value will be a bool indicating the smooth state. It will have been normalized with normalizers.normalizeBoolean.

Subclasses must override this method.

BasePoint._set_type(value)

This is the environment implementation of BasePoint.type. value will be a String defining the point type. It will have been normalized with normalizers.normalizePointType.

Subclasses must override this method.

BasePoint._set_x(value)

This is the environment implementation of BasePoint.x. value will be an Integer/Float.

Subclasses must override this method.

BasePoint._set_y(value)

This is the environment implementation of BasePoint.y. value will be an Integer/Float.

Subclasses must override this method.

May Override

BasePoint._get_index()

Get the point’s index. This must return an int.

Subclasses may override this method.

BasePoint._init(*args, **kwargs)

Subclasses may override this method.

BasePoint._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.

BasePoint._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.

BasePoint._round(**kwargs)

This is the environment implementation of BasePoint.round.

Subclasses may override this method.

BasePoint._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.

BasePoint._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.

BasePoint._transformBy(matrix, **kwargs)

This is the environment implementation of BasePoint.transformBy.

matrix will be a Transformation Matrix. that has been normalized with normalizers.normalizeTransformationMatrix.

Subclasses may override this method.

BasePoint.copyData(source)

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