| GL Studio C++ Runtime API

Public Member Functions | Public Attributes | List of all members
GlsText::LineSegment_t Class Reference

`#include <gls_text.h>`

## Public Member Functions
| LineSegment_t (const float segmentX1, const float segmentX2, const float segmentY, const float segmentThickness, const float segmentShadowOffsetX, const float segmentShadowOffsetY, const GlsColor &segmentColor)

## Public Attributes
float | x1
| Left side of the segment.
float | x2
| Right side of the segment.
float | y
| Vertical position of the segment.
float | thickness
| Thickness of the segment in logical units.
float | shadowOffsetX
| X offset of the shadow in logical units.
float | shadowOffsetY
| Y offset of the shadow in logical units.
GlsColor | color
| Color the segment is to be drawn.

## Detailed Description

Line Segment_t

## Constructor & Destructor Documentation

## ◆ LineSegment_t()

LineSegment_t | ( | const float | segmentX1,
|  | const float | segmentX2,
|  | const float | segmentY,
|  | const float | segmentThickness,
|  | const float | segmentShadowOffsetX,
|  | const float | segmentShadowOffsetY,
|  | const GlsColor & | segmentColor
| ) |  |
| inline

Constructor

Parameters

  segmentX1 | Left side of the segment.
  segmentX2 | Right side of the segment.
  segmentY | Vertical position of the segment.
  segmentThickness | Thickness of the segment in logical units.
  segmentShadowOffsetX | X offset of the shadow in logical units.
  segmentShadowOffsetY | Y offset of the shadow in logical units.
  segmentColor | Color the segment is to be drawn.

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

- gls_text.h