# Component

## Must Override

BaseComponent._decompose()

  Subclasses must override this method.

BaseComponent._get_baseGlyph()

  Subclasses must override this method.

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

BaseComponent._get_transformation()

  Subclasses must override this method.

BaseComponent._set_baseGlyph(value)

  Subclasses must override this method.

BaseComponent._set_index(value)

  Subclasses must override this method.

BaseComponent._set_transformation(value)

  Subclasses must override this method.

## May Override

BaseComponent._draw(pen, **kwargs)

  Subclasses may override this method.

BaseComponent._drawPoints(pen, **kwargs)

  Subclasses may override this method.

BaseComponent._get_bounds()

  Subclasses may override this method.

BaseComponent._get_index()

  Subclasses may override this method.

BaseComponent._get_offset()

  Subclasses may override this method.

BaseComponent._get_scale()

  Subclasses may override this method.

BaseComponent._init(*args, **kwargs)

  Subclasses may override this method.

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

BaseComponent._pointInside(point)

  Subclasses may override this method.

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

BaseComponent._round()

  Subclasses may override this method.

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

BaseComponent._set_offset(value)

  Subclasses may override this method.

BaseComponent._set_scale(value)

  Subclasses may override this method.

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

BaseComponent._transformBy(matrix, **kwargs)

  Subclasses may override this method.

BaseComponent.copyData(source)

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

Previous

Point

Next

Anchor