Skip to content

Struct evab::CenterAlign

ClassList > evab > CenterAlign

Center alignment strategy.

  • #include <evabTextAlign.h>

Public Static Functions

Type Name
unsigned char Offset (Coor aSize, unsigned char textLen)
Calculates offset for center alignment.

Public Static Functions Documentation

function Offset

Calculates offset for center alignment.

static unsigned char evab::CenterAlign::Offset (
    Coor aSize,
    unsigned char textLen
) 

Parameters:

  • aSize Available area size
  • textLen Text length in characters

Returns:

Offset to center the text



The documentation for this class was generated from the following file src/evabTextAlign.h