Simple GUI Library
Sgl::Border Class Reference
Collaboration diagram for Sgl::Border:

Public Member Functions

 Border (int32_t thickness, Sml::Color color)
 
 Border (const Insets &thickness, Sml::Color color)
 
const InsetsgetThickness () const
 
Sml::Color getColor () const
 

Static Public Member Functions

static void encloseArea (const Border *border, const Sml::Rectangle< int32_t > &targetRegion)
 

Detailed Description

Definition at line 17 of file border.h.

Constructor & Destructor Documentation

◆ Border() [1/2]

Sgl::Border::Border ( int32_t  thickness,
Sml::Color  color 
)

Definition at line 14 of file border.cpp.

◆ Border() [2/2]

Sgl::Border::Border ( const Insets thickness,
Sml::Color  color 
)

Definition at line 17 of file border.cpp.

Member Function Documentation

◆ encloseArea()

void Sgl::Border::encloseArea ( const Border border,
const Sml::Rectangle< int32_t > &  targetRegion 
)
static

Definition at line 31 of file border.cpp.

◆ getColor()

Sml::Color Sgl::Border::getColor ( ) const

Definition at line 26 of file border.cpp.

◆ getThickness()

const Insets & Sgl::Border::getThickness ( ) const

Definition at line 21 of file border.cpp.


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