|
DrawAlphaRectangle
|
|
| X1 [in], Y1 [in]
|
| Coordinates of the top left corner of the rectangle's bounding rectangle relative to the image origin.
|
| X2 [in], Y2 [in]
|
| Coordinates of the bottom right corner of the rectangle's bounding rectangle relative to the image origin.
|
| Width [in]
|
| Width of the line in pixels. If zero, a filled rectangle will be drawn.
|
| Red [in], Green [in], Blue [in]
|
| Values specifying the color or intensity of the rectangle.
|
| Opacity [in]
|
| Value in the range 1-100 specifying the percentage of opacity at which the ellipse will be blended with the underlying pixels in the image.
|
| If 0, the pixels of the rectangle will be reset to the fully transparent state.
|
| If omitted, default value of 100 is used.
|
|
|
| S_OK
|
| Success
|
| E_FAIL
|
| Failure.
|