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

Public Member Functions

 ShadowSpecification (const Sml::Vec2i &offset, const Sml::Vec2f &scale, int32_t blurRadius, Sml::Color color=Sml::COLOR_BLACK)
 
const Sml::Vec2i & getOffset () const
 
const Sml::Vec2f & getScale () const
 
int32_t getBlurRadius () const
 
Sml::Color getColor () const
 

Friends

class Shadow
 

Detailed Description

Definition at line 16 of file shadow.h.

Constructor & Destructor Documentation

◆ ShadowSpecification()

Sgl::ShadowSpecification::ShadowSpecification ( const Sml::Vec2i &  offset,
const Sml::Vec2f &  scale,
int32_t  blurRadius,
Sml::Color  color = Sml::COLOR_BLACK 
)

Definition at line 13 of file shadow.cpp.

◆ ~ShadowSpecification()

Sgl::ShadowSpecification::~ShadowSpecification ( )

Definition at line 21 of file shadow.cpp.

Member Function Documentation

◆ getBlurRadius()

int32_t Sgl::ShadowSpecification::getBlurRadius ( ) const

Definition at line 31 of file shadow.cpp.

◆ getColor()

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

Definition at line 32 of file shadow.cpp.

◆ getOffset()

const Sml::Vec2i & Sgl::ShadowSpecification::getOffset ( ) const

Definition at line 29 of file shadow.cpp.

◆ getScale()

const Sml::Vec2f & Sgl::ShadowSpecification::getScale ( ) const

Definition at line 30 of file shadow.cpp.

Friends And Related Function Documentation

◆ Shadow

friend class Shadow
friend

Definition at line 19 of file shadow.h.


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