Section
Represents a section of the full strip and is used by running animations when they need information about the strip or section or when they need to start a subanimation in a subsection
Constructors
Properties
A list of the actual colors for the section
A list of the fade colors for the section
A list of the indices of the pixels in this section (range from 0 to numLEDs - 1)
A list of the prolonged colors for the section
A list of the temporary colors for the section
The sections managed by this section manager
The strip manager this section manager is managing sections for
The subsections managed by this section manager
Functions
Clear the section (set all pixels to 0)
Get the appropriate index on the full strip for the specified pixel.
Revert a pixel's color (reset its temporary color)
Revert multiple pixels' color (reset their temporary colors)
Set a pixel's fade color
Set multiple pixels' fade color
Set a pixel's prolonged color
Set multiple pixels' prolonged color
Set a pixel's temporary color
Set multiple pixels' temporary color
Set the section's fade color
Set the section's prolonged color
Set the section's temporary color