KiCad PCB EDA Suite
TEXT_ATTRIBUTES Class Reference

#include <text_attributes.h>

Public Attributes

KIFONT::FONTm_Font = nullptr
 
GR_TEXT_H_ALIGN_T m_Halign = GR_TEXT_H_ALIGN_CENTER
 
GR_TEXT_V_ALIGN_T m_Valign = GR_TEXT_V_ALIGN_CENTER
 
EDA_ANGLE m_Angle = ANGLE_0
 
double m_LineSpacing = 1.0
 
int m_StrokeWidth = 0
 
bool m_Italic = false
 
bool m_Bold = false
 
bool m_Underlined = false
 
KIGFX::COLOR4D m_Color = KIGFX::COLOR4D::UNSPECIFIED
 
bool m_Visible = true
 
bool m_Mirrored = false
 
bool m_Multiline = true
 
VECTOR2I m_Size
 
bool m_KeepUpright = false
 If true, keep rotation angle between -90...90 degrees for readability. More...
 

Detailed Description

Definition at line 63 of file text_attributes.h.

Member Data Documentation

◆ m_Angle

◆ m_Bold

◆ m_Color

KIGFX::COLOR4D TEXT_ATTRIBUTES::m_Color = KIGFX::COLOR4D::UNSPECIFIED

Definition at line 75 of file text_attributes.h.

Referenced by EDA_TEXT::GetTextColor(), and EDA_TEXT::SetTextColor().

◆ m_Font

◆ m_Halign

◆ m_Italic

◆ m_KeepUpright

bool TEXT_ATTRIBUTES::m_KeepUpright = false

If true, keep rotation angle between -90...90 degrees for readability.

Definition at line 84 of file text_attributes.h.

Referenced by EDA_TEXT::Compare(), DRAWING_TOOL::drawShape(), EDA_TEXT::IsKeepUpright(), DRAWING_TOOL::PlaceText(), and EDA_TEXT::SetKeepUpright().

◆ m_LineSpacing

double TEXT_ATTRIBUTES::m_LineSpacing = 1.0

◆ m_Mirrored

◆ m_Multiline

bool TEXT_ATTRIBUTES::m_Multiline = true

◆ m_Size

◆ m_StrokeWidth

◆ m_Underlined

bool TEXT_ATTRIBUTES::m_Underlined = false

◆ m_Valign

◆ m_Visible

bool TEXT_ATTRIBUTES::m_Visible = true

Definition at line 76 of file text_attributes.h.

Referenced by EDA_TEXT::Compare(), EDA_TEXT::IsVisible(), and EDA_TEXT::SetVisible().


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