MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > b) Data Types and Constants > laLineWidget Structure
MPLAB® Harmony Graphics Suite
laLineWidget Structure

Structure: laLineWidget_t 

A line widget draws a simple line shape within the confines of its bounding rectangle. All coordinates are expressed in local widget space. 

The color of the line is determined by the widget scheme's 'foreground' color.

C
typedef struct laLineWidget_t {
  laWidget widget;
  int32_t x1;
  int32_t y1;
  int32_t x2;
  int32_t y2;
} laLineWidget;
Members
Members 
Description 
laWidget widget; 
widget base class 
int32_t x1; 
point 1 x 
int32_t y1; 
point 1 y 
int32_t x2; 
point 2 x 
int32_t y2; 
point 2 y 
Remarks

None.

MPLAB® Harmony Graphics Suite