ConstraintList#
- class ConstraintList#
Methods
__init__
append
clear
copy
count
extend
index
insert
pop
remove
reverse
- class Iterator#
- __init__(*args, **kwargs)#
- __next__(self) Constraint #
__next__
- 戻り値の型:
- __add__(self, arg: ConstraintList, /) ConstraintList #
- __add__(self, arg: Constraint, /) ConstraintList
__add__
- Overloading:
1. __add__(self, arg: amplify.ConstraintList, /) -> amplify.ConstraintList
- Args:
arg (amplify.ConstraintList):
- Returns:
amplify.ConstraintList:
2. __add__(self, arg: amplify.Constraint, /) -> amplify.ConstraintList
- Args:
arg (amplify.Constraint):
- Returns:
amplify.ConstraintList:
- __copy__(self) ConstraintList #
__copy__
- 戻り値の型:
- __deepcopy__(self, memo: Any | None = None) ConstraintList #
__deepcopy__
- パラメータ:
memo (Any | None) -- Defaults to
None
.- 戻り値の型:
- __eq__(self, arg: ConstraintList, /) bool #
__eq__
- パラメータ:
arg (ConstraintList) --
- 戻り値の型:
- __getitem__(self, key: int) Constraint #
__getitem__
- パラメータ:
key (int) --
- 戻り値の型:
- __iadd__(self, arg: ConstraintList, /) ConstraintList #
- __iadd__(self, arg: Constraint, /) ConstraintList
__iadd__
- Overloading:
1. __iadd__(self, arg: amplify.ConstraintList, /) -> amplify.ConstraintList
- Args:
arg (amplify.ConstraintList):
- Returns:
amplify.ConstraintList:
2. __iadd__(self, arg: amplify.Constraint, /) -> amplify.ConstraintList
- Args:
arg (amplify.Constraint):
- Returns:
amplify.ConstraintList:
- __imul__(self, arg: float, /) ConstraintList #
__imul__
- パラメータ:
arg (float) --
- 戻り値の型:
- __init__(self) None #
- __init__(self, object: Sequence[Constraint]) None
__init__
- パラメータ:
object (Sequence[Constraint]) --
- __itruediv__(self, arg: float, /) ConstraintList #
__itruediv__
- パラメータ:
arg (float) --
- 戻り値の型:
- __mul__(self, arg: float, /) ConstraintList #
__mul__
- パラメータ:
arg (float) --
- 戻り値の型:
- __ne__(self, arg: ConstraintList, /) bool #
__ne__
- パラメータ:
arg (ConstraintList) --
- 戻り値の型:
- __radd__(self, arg: Constraint, /) ConstraintList #
- __radd__(self, arg: int, /) ConstraintList
__radd__
- Overloading:
1. __radd__(self, arg: amplify.Constraint, /) -> amplify.ConstraintList
- Args:
arg (amplify.Constraint):
- Returns:
amplify.ConstraintList:
2. __radd__(self, arg: int, /) -> amplify.ConstraintList
- Args:
arg (int):
- Returns:
amplify.ConstraintList:
- __rmul__(self, arg: float, /) ConstraintList #
__rmul__
- パラメータ:
arg (float) --
- 戻り値の型:
- __setitem__(self, key: int, value: Constraint) None #
__setitem__
- パラメータ:
key (int) --
value (Constraint) --
- __truediv__(self, arg: float, /) ConstraintList #
__truediv__
- パラメータ:
arg (float) --
- 戻り値の型:
- append(self, value: Constraint) None #
append
- パラメータ:
value (Constraint) --
- copy(self) ConstraintList #
copy
- 戻り値の型:
- count(self, value: Constraint) int #
count
- パラメータ:
value (Constraint) --
- 戻り値の型:
- extend(self, sequence: Sequence[Constraint]) None #
extend
- パラメータ:
sequence (Sequence[Constraint]) --
- index(self, value: Constraint) int #
- index(self, value: Constraint, start: int) int
- index(self, value: Constraint, start: int, end: int) int
index
- Overloading:
1. index(self, value: amplify.Constraint) -> int
- Args:
value (amplify.Constraint):
- Returns:
int:
2. index(self, value: amplify.Constraint, start: int) -> int
- Args:
value (amplify.Constraint):
start (int):
- Returns:
int:
3. index(self, value: amplify.Constraint, start: int, end: int) -> int
- Args:
value (amplify.Constraint):
start (int):
end (int):
- Returns:
int:
- insert(self, index: int, value: Constraint) None #
insert
- パラメータ:
index (int) --
value (Constraint) --
- pop(self, index: int | None = None) Constraint #
pop
- パラメータ:
index (int | None) -- Defaults to
None
.- 戻り値の型:
- remove(self, value: Constraint) None #
remove
- パラメータ:
value (Constraint) --