iPlug2 - C++ Audio Plug-in Framework
Public Member Functions | Public Attributes | List of all members
IShadow Struct Reference

Used to specify properties of a drop-shadow to a layer. More...

#include <IGraphicsStructs.h>

Public Member Functions

 IShadow (const IPattern &pattern, float blurSize, float xOffset, float yOffset, float opacity, bool drawForeground=true)
 Create an IShadow. More...
 

Public Attributes

IPattern mPattern = COLOR_BLACK
 
float mBlurSize = 0.f
 
float mXOffset = 0.f
 
float mYOffset = 0.f
 
float mOpacity = 1.f
 
bool mDrawForeground = true
 

Detailed Description

Used to specify properties of a drop-shadow to a layer.

Use with IGraphics::ApplyLayerDropShadow()

Definition at line 2371 of file IGraphicsStructs.h.

Constructor & Destructor Documentation

IShadow::IShadow ( const IPattern pattern,
float  blurSize,
float  xOffset,
float  yOffset,
float  opacity,
bool  drawForeground = true 
)
inline

Create an IShadow.

Parameters
patternThe IPattern for the shadow
blurSizeThe size of the gaussian blur in points
xOffsetOffset the shadow horizontally
yOffsetOffset the shadow vertically
opacityThe opacity of the shadow
drawForegroundShould the layer contents be drawn, or just the shadow

Definition at line 2382 of file IGraphicsStructs.h.


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