Embedded SDK
Embedded SDK
Public Attributes | List of all members
nbgl_line_s Struct Reference

struct to represent a vertical or horizontal line More...

#include <nbgl_obj.h>

Collaboration diagram for nbgl_line_s:
Collaboration graph
[legend]

Public Attributes

nbgl_obj_t obj
 common part More...
 
nbgl_direction_t direction
 direction of the line, e.g VERTICAL or HORIZONTAL More...
 
color_t lineColor
 color of the line More...
 
uint8_t thickness
 
uint8_t offset
 

Detailed Description

struct to represent a vertical or horizontal line

Definition at line 264 of file nbgl_obj.h.

Member Data Documentation

◆ direction

nbgl_direction_t nbgl_line_s::direction

direction of the line, e.g VERTICAL or HORIZONTAL

Definition at line 266 of file nbgl_obj.h.

◆ lineColor

color_t nbgl_line_s::lineColor

color of the line

Definition at line 267 of file nbgl_obj.h.

◆ obj

nbgl_obj_t nbgl_line_s::obj

common part

Definition at line 265 of file nbgl_obj.h.

◆ offset

uint8_t nbgl_line_s::offset

the object height being always 4, with a y0 multiple of 4, this offset is use to move the line within these 4 pixels

Definition at line 270 of file nbgl_obj.h.

◆ thickness

uint8_t nbgl_line_s::thickness

thickness of the line in pixel, maybe different from height for horizontal line

Definition at line 268 of file nbgl_obj.h.


The documentation for this struct was generated from the following file: