DIY QlockTwo
Perfect DIY version of famous QlockTwo Classic with ESP8266
LedWord Class Reference

LedWord representing on word (only horizontal) on the matrix, defined by first pixel and word length. More...

#include <LedWord.h>

Public Member Functions

 LedWord ()
 
 LedWord (int firstPixelX, int firstPixelY, int length)
 
int getFirstPixelX () const
 
void setFirstPixelX (int firstPixelX)
 
int getFirstPixelY () const
 
void setFirstPixelY (int firstPixelX)
 
int getLength () const
 
void setLength (int length)
 

Private Attributes

int firstPixelX
 
int firstPixelY
 
int length
 

Detailed Description

LedWord representing on word (only horizontal) on the matrix, defined by first pixel and word length.

Definition at line 7 of file LedWord.h.

Constructor & Destructor Documentation

◆ LedWord() [1/2]

LedWord::LedWord ( )

Definition at line 3 of file LedWord.cpp.

◆ LedWord() [2/2]

LedWord::LedWord ( int  firstPixelX,
int  firstPixelY,
int  length 
)

Definition at line 5 of file LedWord.cpp.

Member Function Documentation

◆ getFirstPixelX()

int LedWord::getFirstPixelX ( ) const

Definition at line 8 of file LedWord.cpp.

◆ getFirstPixelY()

int LedWord::getFirstPixelY ( ) const

Definition at line 16 of file LedWord.cpp.

◆ getLength()

int LedWord::getLength ( ) const

Definition at line 24 of file LedWord.cpp.

◆ setFirstPixelX()

void LedWord::setFirstPixelX ( int  firstPixelX)

Definition at line 12 of file LedWord.cpp.

◆ setFirstPixelY()

void LedWord::setFirstPixelY ( int  firstPixelX)

Definition at line 20 of file LedWord.cpp.

◆ setLength()

void LedWord::setLength ( int  length)

Definition at line 28 of file LedWord.cpp.

Member Data Documentation

◆ firstPixelX

int LedWord::firstPixelX
private

Definition at line 18 of file LedWord.h.

◆ firstPixelY

int LedWord::firstPixelY
private

Definition at line 19 of file LedWord.h.

◆ length

int LedWord::length
private

Definition at line 20 of file LedWord.h.


The documentation for this class was generated from the following files: