ULIS  dev4.0.7
Utility Library for Imaging Systems
Public Member Functions | Protected Member Functions | List of all members
IHasText Class Reference

Simple HasText class.

Inheritance diagram for IHasText:

Public Member Functions

FFont Font () const
 
int FontSize () const
 
bool IsAntiAliased () const
 
void SetAntiAliased (bool iValue)
 
void SetFont (const FFont &iValue)
 
void SetFontSize (int iValue)
 
void SetText (const FWString &iValue)
 
void SetTextColor (const FColor &iValue)
 
FWString Text () const
 
FColor TextColor () const
 
- Public Member Functions inherited from TCallbackCapable< DelegateType, _ID >
 TCallbackCapable (const DelegateType &iDelegate=DelegateType())
 
 TCallbackCapable (typename DelegateType::tFptr iDelegateFPTR)
 
const DelegateType & GetDelegate () const
 
template<typename ... Args>
void Invoke (Args ... args) const
 
void SetDelegate (const DelegateType &iDelegate)
 
void SetDelegate (const TCallbackCapable< DelegateType, _ID > &iOther)
 
void SetDelegate (typename DelegateType::tFptr iDelegateFPTR)
 

Protected Member Functions

 IHasText (const FWString &iString=L"Lorem ipsum dolor sit amet...", const FFont &iFont=FFont::DefaultFont, int iSize=12, const FColor &iColor=FColor::Black, bool iAntiAliased=true, const FOnTextInfoChanged &iDelegate=FOnTextInfoChanged())
 

Additional Inherited Members

- Public Types inherited from TCallbackCapable< DelegateType, _ID >
using Delegate = DelegateType
 

Constructor & Destructor Documentation

◆ IHasText()

IHasText::IHasText ( const FWString iString = L"Lorem ipsum dolor sit amet...",
const FFont iFont = FFont::DefaultFont,
int  iSize = 12,
const FColor iColor = FColor::Black,
bool  iAntiAliased = true,
const FOnTextInfoChanged iDelegate = FOnTextInfoChanged() 
)
protected

Member Function Documentation

◆ Font()

FFont IHasText::Font ( ) const

◆ FontSize()

int IHasText::FontSize ( ) const

◆ IsAntiAliased()

bool IHasText::IsAntiAliased ( ) const

◆ SetAntiAliased()

void IHasText::SetAntiAliased ( bool  iValue)

◆ SetFont()

void IHasText::SetFont ( const FFont iValue)

◆ SetFontSize()

void IHasText::SetFontSize ( int  iValue)

◆ SetText()

void IHasText::SetText ( const FWString iValue)

◆ SetTextColor()

void IHasText::SetTextColor ( const FColor iValue)

◆ Text()

FWString IHasText::Text ( ) const

◆ TextColor()

FColor IHasText::TextColor ( ) const