The STARINFO structure provides star information.
typedef struct _STARINFO
{
L_UINT uStructSize;
POINT pCenter;
L_UINT uSpoke;
L_UINT uStarWidth;
L_UINT uStarHeight;
L_UINT uHoleSize;
L_INT nPhase;
L_INT nAngle;
L_INT nDistOpac;
L_INT nSpokeDiv;
L_INT nAngleOpac;
L_INT nBorderOpac;
COLORREF crFillLower;
COLORREF crFillUpper;
L_UINT uOpacity;
L_UINT uFlag;
} STARINFO, *pSTARINFO;
Size of this structure, in bytes. Use the sizeof operator to calculate this value.
POINT structure that contains the star center.
Number of spokes or rays directed inside or outside the star.
Star width.
Star height.
The hole size. This value is given as a percent of the whole star from which the rays start or in which they end. The valid range is from 0 to 100.
Angle to shift the star's rays. 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 rays clockwise, while a negative value will rotate the rays counter-clockwise.
Angle to rotate the star. 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 star clockwise, while a negative value will rotate the star counter-clockwise.
Percent of feathering in towards or outward from the spoke center. The valid range is from -100 to 100.
The percent by which to increment or decrement the size of the low part spoke. The valid range is from -100 to 100.
Percent of feathering in towards or outward from the spoke border. The valid range is from -100 to 100.
Transparency, in percent, of the spoke border. The valid range is from -100 to 100.
Lower spoke side color.
Upper spoke side color.
Transparency, in percent, between the star and the applied image. The valid range is from 0 to 100.
Flag that indicates the direction of the rays. Possible values are:
Value | Meaning |
---|---|
STR_INSIDE | [0x0000] The rays are directed toward the center of the star. |
STR_OUTSIDE | [0x0001] The rays are directed out from the center of the star. |
STR_INNER | [0x0010] The rays fill the star outward from the center. This flag can only be used with STR_OUTSIDE. |
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