FBColor Class Reference

#include <mainpage.h>

Class Description

FBColor 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 3 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 = FBColor()
len(color)
print color[0]
color[0] = 1.0
Warning
Slicing is not supported by this object.
+ Inheritance diagram for FBColor:

Public Member Functions

__idiv__ ()
 
__str__ ()
 
NotEqual ()
 
GetList ()
 
__ne__ ()
 
IsEqual ()
 
CopyFrom ()
 
__add__ ()
 
__eq__ ()
 
__setitem__ ()
 
__repr__ ()
 
__neg__ ()
 
__len__ ()
 
__getitem__ ()
 
__div__ ()
 
__iadd__ ()
 
__sub__ ()
 
__imul__ ()
 
GetBufferAddress ()
 
__mul__ ()
 
__isub__ ()
 
__init__ ()
 
__reduce__ ()
 

Member Function Documentation

__add__ ( )

Python Docstring:

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

__add__( (FBColor)arg1, (object)arg2) -> object 
__div__ ( )

Python Docstring:

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

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

Python Docstring:

__eq__( (FBColor)arg1, (FBColor)arg2) -> object 
__getitem__ ( )

Python Docstring:

__getitem__( (FBColor)arg1, (object)arg2) -> float 
__iadd__ ( )

Python Docstring:

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

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

Python Docstring:

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

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

Python Docstring:

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

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

Python Docstring:

__init__( (object)arg1) -> None

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

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

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

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

Python Docstring:

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

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

Python Docstring:

__len__( (FBColor)arg1) -> int 
__mul__ ( )

Python Docstring:

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

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

Python Docstring:

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

Python Docstring:

__neg__( (FBColor)arg1) -> object 
__reduce__ ( )
__repr__ ( )

Python Docstring:

__repr__( (FBColor)arg1) -> str 
__setitem__ ( )

Python Docstring:

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

Python Docstring:

__str__( (FBColor)arg1) -> object 
__sub__ ( )

Python Docstring:

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

__sub__( (FBColor)arg1, (object)arg2) -> object 
CopyFrom ( )

Python Docstring:

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

CopyFrom( (FBColor)arg1, (list)arg2) -> FBColor 
GetBufferAddress ( )

Python Docstring:

GetBufferAddress( (FBColor)arg1) -> int 
GetList ( )

Python Docstring:

GetList( (FBColor)arg1) -> list 
IsEqual ( )

Python Docstring:

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

Python Docstring:

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