FBColorAndAlpha Class Reference

FBColorAndAlpha Class Reference

#include <mainpage.h>

Class Description

Color and alpha vector.

FBColorAndAlpha class. This class creates a list like object, which can be modified using the list protocol method. But unlike lists, its length is fixed: it always contain 4 floating point values. Thus it does not support the any list methods that would affect its length. The values within can be changed, usually via the bracket operator.

# Supported list protocol methods:
color = FBColorAndAlpha()
len(color)
print color[0]
color[0] = 1.0
Warning
Slicing is not supported by this object.
+ Inheritance diagram for FBColorAndAlpha:

Public Member Functions

 __reduce__ ()
 
 __init__ (...)
 
int __len__ (FBColorAndAlpha arg1)
 
float __getitem__ (FBColorAndAlpha arg1, object arg2)
 
 __setitem__ (FBColorAndAlpha arg1, object arg2, object arg3)
 
str __repr__ (FBColorAndAlpha arg1)
 
object __str__ (FBColorAndAlpha arg1)
 
object __eq__ (FBColorAndAlpha arg1, FBColorAndAlpha arg2)
 
object __ne__ (FBColorAndAlpha arg1, FBColorAndAlpha arg2)
 
 __add__ (...)
 
 __sub__ (...)
 
 __mul__ (...)
 
 __div__ (...)
 
 __iadd__ (...)
 
 __isub__ (...)
 
 __imul__ (...)
 
 __idiv__ (...)
 
object __neg__ (FBColorAndAlpha arg1)
 
 CopyFrom (...)
 
bool NotEqual (FBColorAndAlpha arg1, FBColorAndAlpha arg2)
 
bool IsEqual (FBColorAndAlpha arg1, FBColorAndAlpha arg2)
 
int GetBufferAddress (FBColorAndAlpha arg1)
 
list GetList (FBColorAndAlpha arg1)
 

Member Function Documentation

__add__ (   ...)

Python Docstring:

__add__( (FBColorAndAlpha)arg1, (FBColorAndAlpha)arg2) -> object

__add__( (FBColorAndAlpha)arg1, (object)arg2) -> object 
__div__ (   ...)

Python Docstring:

__div__( (FBColorAndAlpha)arg1, (FBColorAndAlpha)arg2) -> object

__div__( (FBColorAndAlpha)arg1, (object)arg2) -> object 
object __eq__ ( FBColorAndAlpha  arg1,
FBColorAndAlpha  arg2 
)

Python Docstring:

__eq__( (FBColorAndAlpha)arg1, (FBColorAndAlpha)arg2) -> object 
float __getitem__ ( FBColorAndAlpha  arg1,
object  arg2 
)

Python Docstring:

__getitem__( (FBColorAndAlpha)arg1, (object)arg2) -> float 
__iadd__ (   ...)

Python Docstring:

__iadd__( (object)arg1, (FBColorAndAlpha)arg2) -> object

__iadd__( (object)arg1, (object)arg2) -> object 
__idiv__ (   ...)

Python Docstring:

__idiv__( (object)arg1, (FBColorAndAlpha)arg2) -> object

__idiv__( (object)arg1, (object)arg2) -> object 
__imul__ (   ...)

Python Docstring:

__imul__( (object)arg1, (FBColorAndAlpha)arg2) -> object

__imul__( (object)arg1, (object)arg2) -> object 
__init__ (   ...)

Python Docstring:

__init__( (object)arg1) -> None

__init__( (object)arg1, (FBColorAndAlpha)arg2) -> None

__init__( (object)arg1, (object)arg2, (object)arg3, (object)arg4 [, (object)arg5]) -> None

__init__( (object)arg1, (object)arg2) -> None

__init__( (object)arg1, (list)arg2) -> None 

C++ Constructors:
The reference documentation for the following C++ symbols may contain additional relevant information.

__isub__ (   ...)

Python Docstring:

__isub__( (object)arg1, (FBColorAndAlpha)arg2) -> object

__isub__( (object)arg1, (object)arg2) -> object 
int __len__ ( FBColorAndAlpha  arg1)

Python Docstring:

__len__( (FBColorAndAlpha)arg1) -> int 
__mul__ (   ...)

Python Docstring:

__mul__( (FBColorAndAlpha)arg1, (FBColorAndAlpha)arg2) -> object

__mul__( (FBColorAndAlpha)arg1, (object)arg2) -> object 
object __ne__ ( FBColorAndAlpha  arg1,
FBColorAndAlpha  arg2 
)

Python Docstring:

__ne__( (FBColorAndAlpha)arg1, (FBColorAndAlpha)arg2) -> object 
object __neg__ ( FBColorAndAlpha  arg1)

Python Docstring:

__neg__( (FBColorAndAlpha)arg1) -> object 
__reduce__ ( )
str __repr__ ( FBColorAndAlpha  arg1)

Python Docstring:

__repr__( (FBColorAndAlpha)arg1) -> str 
__setitem__ ( FBColorAndAlpha  arg1,
object  arg2,
object  arg3 
)

Python Docstring:

__setitem__( (FBColorAndAlpha)arg1, (object)arg2, (object)arg3) -> None 
object __str__ ( FBColorAndAlpha  arg1)

Python Docstring:

__str__( (FBColorAndAlpha)arg1) -> object 
__sub__ (   ...)

Python Docstring:

__sub__( (FBColorAndAlpha)arg1, (FBColorAndAlpha)arg2) -> object

__sub__( (FBColorAndAlpha)arg1, (object)arg2) -> object 
CopyFrom (   ...)

Python Docstring:

CopyFrom( (FBColorAndAlpha)arg1, (FBColorAndAlpha)arg2) -> FBColorAndAlpha

CopyFrom( (FBColorAndAlpha)arg1, (list)arg2) -> FBColorAndAlpha 
int GetBufferAddress ( FBColorAndAlpha  arg1)

Python Docstring:

GetBufferAddress( (FBColorAndAlpha)arg1) -> int 
list GetList ( FBColorAndAlpha  arg1)

Python Docstring:

GetList( (FBColorAndAlpha)arg1) -> list 
bool IsEqual ( FBColorAndAlpha  arg1,
FBColorAndAlpha  arg2 
)

Python Docstring:

IsEqual( (FBColorAndAlpha)arg1, (FBColorAndAlpha)arg2) -> bool 
bool NotEqual ( FBColorAndAlpha  arg1,
FBColorAndAlpha  arg2 
)

Python Docstring:

NotEqual( (FBColorAndAlpha)arg1, (FBColorAndAlpha)arg2) -> bool