Gorgon Game Engine
TextShadow Class Reference

Describes how a text shadow should be. More...

Public Types

enum  ShadowType { None, Flat }
 

Public Member Functions

 TextShadow ()=default
 
 TextShadow (RGBAf color, Geometry::Pointf offset={1.f, 1.f})
 
 TextShadow (ShadowType type)
 
 TextShadow (ShadowType type, RGBAf color, Geometry::Pointf offset)
 

Public Attributes

RGBAf color
 
Geometry::Pointf offset
 
ShadowType type
 

Detailed Description

Describes how a text shadow should be.

Default is no shadow.

Member Enumeration Documentation

◆ ShadowType

enum ShadowType
Enumerator
None 
Flat 

Constructor & Destructor Documentation

◆ TextShadow() [1/4]

TextShadow ( )
default

◆ TextShadow() [2/4]

◆ TextShadow() [3/4]

TextShadow ( ShadowType  type,
RGBAf  color,
Geometry::Pointf  offset 
)

◆ TextShadow() [4/4]

TextShadow ( RGBAf  color,
Geometry::Pointf  offset = {1.f, 1.f} 
)

Member Data Documentation

◆ color

RGBAf color

◆ offset

◆ type

ShadowType type

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