Blend2D
2D Vector Graphics Engine
Gradient [C++ API].
Returns the type of the gradient.
Sets the type of the gradient.
Returns the gradient extend mode, see BLExtendMode
.
Set the gradient extend mode, see BLExtendMode
.
Resets the gradient extend mode to BL_EXTEND_MODE_PAD
.
Tests whether the gradient is empty.
Empty gradient is considered any gradient that has no stops.
Returns the number of stops the gradient has.
Returns the gradient capacity [in stops].
Reserves the capacity of gradient for at least n
stops.
Shrinks the capacity of gradient stops to fit the current use.
Returns the gradient stop data.
Returns a gradient stop at i
.
Applies a matrix operation to the current transformation matrix (internal).