Gimp.Resource.prototype.is_gradient
function is_gradient(): Boolean {
// Gjs wrapper for gimp_resource_is_gradient()
}
Returns whether the resource is a gradient.
This procedure returns TRUE if the specified resource is a gradient.
Since 3.0
- Returns
TRUE if the resource is a gradient, FALSE otherwise.