Skip to content

typerig.core.objects.array

typerig.core.objects.array (version 0.26.5)

# MODULE: TypeRig / Core / Array (Objects)
# -----------------------------------------------------------
# (C) Vassil Kateliev, 2018-2020        (http://www.kateliev.com)
# (C) Karandash Type Foundry            (http://www.karandash.eu)
#------------------------------------------------------------
# www.typerig.com

Classes

class PointArray(typerig.core.objects.collection.CustomList)

# - Classes -----------------------------
# -- Point Collections ------------------

Methods

__add__(self, other)
# - Internals
__delitem__(self, i)


__div__(self, other)


__init__(self, data, useVoid=False)


__mul__(self, other)


__radd__ = __add__(self, other)
__rdiv__ = __div__(self, other)
__repr__(self)


__rmul__ = __mul__(self, other)
__rsub__ = __sub__(self, other)
__sub__(self, other)


__truediv__ = __div__(self, other)
doTransform(self, transform=None)


pop(self, i=-1)


remove(self, item)


Descriptors

angles
bounds
center
diffs
height
tuple
width
x
x_tuple
y
y_tuple

Attributes

__abstractmethods__ = frozenset([])
__iadd__ = None
__idiv__ = None
__imul__ = None
__isub__ = None

Methods from typerig.core.objects.collection.CustomList

__cmp__(self, other)


__contains__(self, item)


__delslice__(self, i, j)


__eq__(self, other)


__ge__(self, other)


__getitem__(self, i)


__getslice__(self, i, j)


__gt__(self, other)


__le__(self, other)


__len__(self)


__lt__(self, other)


__ne__(self, other)


__setitem__(self, i, item)


__setslice__(self, i, j, other)


append(self, item)


count(self, item)


extend(self, other)


index(self, item, *args)


insert(self, i, item)


reverse(self)


sort(self, *args, **kwds)


Attributes from typerig.core.objects.collection.CustomList

__hash__ = None

Methods from _abcoll.Sequence

__iter__(self)


__reversed__(self)


Class methods from _abcoll.Sized

__subclasshook__(cls, C) from abc.ABCMeta


Descriptors from _abcoll.Sized

__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Attributes from _abcoll.Sized

__metaclass__ = <class 'abc.ABCMeta'>
Metaclass for defining Abstract Base Classes (ABCs).

Use this metaclass to create an ABC.  An ABC can be subclassed
directly, and then acts as a mix-in class.  You can also register
unrelated concrete classes (even built-in classes) and unrelated
ABCs as 'virtual subclasses' -- these and their descendants will
be considered subclasses of the registering ABC by the built-in
issubclass() function, but the registering ABC won't show up in
their MRO (Method Resolution Order) nor will method
implementations defined by the registering ABC be callable (not
even via super()).