API reference - Class QGradientNotation used in Ruby API documentation Description: Binding of QGradient Public constructors
Public methods
Public static methods and constants
Detailed description[const] bool !=(const QGradient other)Description: Method bool QGradient::operator!=(const QGradient &other) [const] bool ==(const QGradient gradient)Description: Method bool QGradient::operator==(const QGradient &gradient) bool ==(const QGradient gradient)Description: Method bool QGradient::operator==(const QGradient &gradient) [static] QGradient_InterpolationMode ColorInterpolationDescription: Enum constant QGradient::ColorInterpolation [static] QGradient_InterpolationMode ComponentInterpolationDescription: Enum constant QGradient::ComponentInterpolation [static] QGradient_Type ConicalGradientDescription: Enum constant QGradient::ConicalGradient [static] QGradient_Type LinearGradientDescription: Enum constant QGradient::LinearGradient [static] QGradient_CoordinateMode LogicalModeDescription: Enum constant QGradient::LogicalMode [static] QGradient_Type NoGradientDescription: Enum constant QGradient::NoGradient [static] QGradient_CoordinateMode ObjectBoundingModeDescription: Enum constant QGradient::ObjectBoundingMode [static] QGradient_Spread PadSpreadDescription: Enum constant QGradient::PadSpread [static] QGradient_Type RadialGradientDescription: Enum constant QGradient::RadialGradient [static] QGradient_Spread ReflectSpreadDescription: Enum constant QGradient::ReflectSpread [static] QGradient_Spread RepeatSpreadDescription: Enum constant QGradient::RepeatSpread [static] QGradient_CoordinateMode StretchToDeviceModeDescription: Enum constant QGradient::StretchToDeviceMode [const] void assign(const QGradient other)Description: Assign the contents of another object to self This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content. [const] QGradient_CoordinateMode coordinateModeDescription: Method QGradient::CoordinateMode QGradient::coordinateMode() void coordinateMode=(const QGradient_CoordinateMode mode)Description: Method void QGradient::setCoordinateMode(QGradient::CoordinateMode mode) void createDescription: Ensures the C++ object is created Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. void destroyDescription: Explicitly destroy the object Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing. [const] bool destroyed?Description: Returns a value indicating whether the object was already destroyed This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself. [const] QGradient dupDescription: Creates a copy of self [const] QGradient_InterpolationMode interpolationModeDescription: Method QGradient::InterpolationMode QGradient::interpolationMode() void interpolationMode=(const QGradient_InterpolationMode mode)Description: Method void QGradient::setInterpolationMode(QGradient::InterpolationMode mode) [const] bool is_const_object?Description: Returns a value indicating whether the reference is a const reference This method returns true, if self is a const reference. In that case, only const methods may be called on self. [static] new QGradient newDescription: Constructor QGradient::QGradient() This method creates an object of class QGradient. void setColorAt(double pos,const QColor color)Description: Method void QGradient::setColorAt(double pos, const QColor &color) void setCoordinateMode(const QGradient_CoordinateMode mode)Description: Method void QGradient::setCoordinateMode(QGradient::CoordinateMode mode) void setInterpolationMode(const QGradient_InterpolationMode mode)Description: Method void QGradient::setInterpolationMode(QGradient::InterpolationMode mode) void setSpread(const QGradient_Spread spread)Description: Method void QGradient::setSpread(QGradient::Spread spread) void setStops(QDoubleColorPair[] stops)Description: Method void QGradient::setStops(const QVector<QPair<double, QColor> > &stops) [const] QGradient_Spread spreadDescription: Method QGradient::Spread QGradient::spread() void spread=(const QGradient_Spread spread)Description: Method void QGradient::setSpread(QGradient::Spread spread) [const] QDoubleColorPair[] stopsDescription: Method QVector<QPair<double, QColor> > QGradient::stops() void stops=(QDoubleColorPair[] stops)Description: Method void QGradient::setStops(const QVector<QPair<double, QColor> > &stops) [const] QGradient_Type typeDescription: Method QGradient::Type QGradient::type() |