GradientType


Describes supported gradient types.

You can find more information in comments below.

enum class GradientType // Supported gradient types
{
    Horizontal = 0, // Horizontal(from left to right)
    Vertical = 1, // Vertical(from top to bottom)
    Radial = 2, // Radial(from center)
    DiagonalDown = 3, // From left-top to right-bottom
    DiagonalUp = 4, // From left-bottom to right-top
    Circle = 5 // The same as gtRadial but drawing appears only inside circle which radius is maximum of width and height of the rectangle where drawing is
};
Namespace: nitisa
Include: Nitisa/Image/GradientType.h