iPlug 2: 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 |
Used to specify properties of a drop-shadow to a layer.
Use with IGraphics::ApplyLayerDropShadow()
Definition at line 2373 of file IGraphicsStructs.h.
|
inline |
◆ IShadow() [2/2]
|
inline |
Create an IShadow.
- Parameters
-
pattern The IPattern for the shadow blurSize The size of the gaussian blur in points xOffset Offset the shadow horizontally yOffset Offset the shadow vertically opacity The opacity of the shadow drawForeground Should the layer contents be drawn, or just the shadow
Definition at line 2384 of file IGraphicsStructs.h.
◆ mBlurSize
float IShadow::mBlurSize = 0.f
◆ mDrawForeground
bool IShadow::mDrawForeground = true
◆ mOpacity
float IShadow::mOpacity = 1.f
◆ mPattern
IPattern IShadow::mPattern = COLOR_BLACK
◆ mXOffset
float IShadow::mXOffset = 0.f
◆ mYOffset
float IShadow::mYOffset = 0.f
The documentation for this struct was generated from the following file: