Magick++ 6.9.13
Loading...
Searching...
No Matches
Magick::shadowImage Class Reference
Collaboration diagram for Magick::shadowImage:

Public Member Functions

 shadowImage (const double percent_opacity_=80, const double sigma_=0.5, const ssize_t x_=5, const ssize_t y_=5)
 
void operator() (Image &image_) const
 

Private Attributes

double _percent_opacity
 
double _sigma
 
ssize_t _x
 
ssize_t _y
 

Detailed Description

Definition at line 1034 of file STL.h.

Constructor & Destructor Documentation

◆ shadowImage()

Magick::shadowImage::shadowImage ( const double percent_opacity_ = 80,
const double sigma_ = 0.5,
const ssize_t x_ = 5,
const ssize_t y_ = 5 )

Definition at line 992 of file STL.cpp.

995 : _percent_opacity( percent_opacity_ ),
996 _sigma( sigma_ ),
997 _x ( x_ ),
998 _y ( y_ )
999{
1000}

Member Function Documentation

◆ operator()()

void Magick::shadowImage::operator() ( Magick::Image & image_) const

Definition at line 1001 of file STL.cpp.

1002{
1003 image_.shadow( _percent_opacity, _sigma, _x, _y );
1004}

Member Data Documentation

◆ _percent_opacity

double Magick::shadowImage::_percent_opacity
private

Definition at line 1043 of file STL.h.

◆ _sigma

double Magick::shadowImage::_sigma
private

Definition at line 1044 of file STL.h.

◆ _x

ssize_t Magick::shadowImage::_x
private

Definition at line 1045 of file STL.h.

◆ _y

ssize_t Magick::shadowImage::_y
private

Definition at line 1046 of file STL.h.


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