The LIGHTINFO structure provides light source information.
Size of this structure, in bytes. Use the sizeof operator to calculate this value.
POINT structure that contains the center of the ellipse used to represent the light.
Value that represents the width of the ellipse used to represent the light.
Value that represents the height of the ellipse used to represent the light.
Angle by which to rotate the ellipse that represents the light. This value is given in hundredths of a degree (+/-). This can be a number from 0 to 36,000. A positive value will rotate the ellipse clockwise, while a negative value will rotate the ellipse counter-clockwise.
Intensity or brightness of the light.
Percentage by which to smooth the light border. The valid range is from 0 to 100.
Color of the light.
Opacity of the light.
Value that determines the light source type. Possible values are:
Value | Meaning |
---|---|
LGT_SPOTLIGHT | [0x0000] The light will appear as a spotlight, based on the values in the uWidth, uHeight, nAngle and uEdge members. |
LGT_DIRELIGHT | [0x0001] The light will be applied to the whole image. If this flag is used, the uWidth, uHeight, nAngle, uEdge members will be ignored. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document