LOFixturePalette Class Reference
A Palette is a series of ranges.
More...
#import <LOFixturePalette.h>
Detailed Description
A Palette is a series of ranges.
These can be used for a number things, like for instance to define a series of entries on a wheel for a fixture, or to define a number of preset colours or positions for a fixture.
Member Function Documentation
Get the number of entries in the palette.
Get a paletter entry at a specific index.
- Parameters:
-
| index | The index (zero indexed) |
- See also:
- entries:
- addEntry:
- (id) initWithName: |
|
(NSString *) |
theName |
|
|
Iniilise the palette with a name and no entries.
- (id) initWithXML: |
|
(NSXMLElement *) |
XMLElement |
withinFixture: |
|
(LOFixture *) |
theFixture | |
|
|
| | |
Initilise the palette from the XML Element.
- (void) removeEntryAtIndex: |
|
(unsigned) |
index |
|
|
- (void) setName: |
|
(NSString *) |
aName |
|
|
Set the name of palette.
- See also:
- name:
Return the palette defintion as an XML element.
<palette name="name">
<entry name="name">
<range base="name" offset="x" type="block|proportional|single" start="x" end="x" [startName="name"] [endName="name"]/>
...
</entry>
...
</palette>
The documentation for this class was generated from the following files: