OEDrawAlphaRainbowCircle

bool OEDrawAlphaRainbowCircle(OEDepict::OEImageBase &image,
                              const OEDepict::OE2DPoint &center, double radius,
                              const OEDepict::OEPen &pen,
                              unsigned int patternDirection=OEPatternDirection::Outside)

Draws a circle with the OECircleStyle_AlphaRainbow style. See Figure: OEDrawAlphaRainbowCircle.

../../_images/OEDrawAlphaRainbowCircle.png

OEDrawAlphaRainbowCircle

image

The image on which the circle is drawn.

center

The center of the circle.

radius

The radius of the circle.

pen

The graphical properties of the circle.

See example (A) and (B) in Figure: OEDrawAlphaRainbowCircle.

patternDirection

Specifies whether the pattern is drawn inside or outside of the circle. This value has to be from the OEPatternDirection namespace.

See example (C) in Figure: OEDrawAlphaRainbowCircle.