API reference - Class QPenNotation used in Ruby API documentation Description: Binding of QPen Public constructors
Public methods
Detailed description[const] bool !=(const QPen p)Description: Method bool QPen::operator!=(const QPen &p) [const] bool ==(const QPen p)Description: Method bool QPen::operator==(const QPen &p) QPen assign(const QPen pen)Description: Method QPen &QPen::operator=(const QPen &pen) [const] void assign(const QPen 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] QBrush brushDescription: Method QBrush QPen::brush() void brush=(const QBrush brush)Description: Method void QPen::setBrush(const QBrush &brush) [const] Qt_PenCapStyle capStyleDescription: Method Qt::PenCapStyle QPen::capStyle() void capStyle=(const Qt_PenCapStyle pcs)Description: Method void QPen::setCapStyle(Qt::PenCapStyle pcs) [const] QColor colorDescription: Method QColor QPen::color() void color=(const QColor color)Description: Method void QPen::setColor(const QColor &color) void cosmetic=(bool cosmetic)Description: Method void QPen::setCosmetic(bool cosmetic) 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. [const] double dashOffsetDescription: Method double QPen::dashOffset() void dashOffset=(double doffset)Description: Method void QPen::setDashOffset(double doffset) [const] double[] dashPatternDescription: Method QVector<double> QPen::dashPattern() void dashPattern=(double[] pattern)Description: Method void QPen::setDashPattern(const QVector<double> &pattern) 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] QPen dupDescription: Creates a copy of self [const] bool isCosmeticDescription: Method bool QPen::isCosmetic() [const] bool isCosmetic?Description: Method bool QPen::isCosmetic() bool isDetachedDescription: Method bool QPen::isDetached() bool isDetached?Description: Method bool QPen::isDetached() [const] bool isSolidDescription: Method bool QPen::isSolid() [const] bool isSolid?Description: Method bool QPen::isSolid() [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. [const] Qt_PenJoinStyle joinStyleDescription: Method Qt::PenJoinStyle QPen::joinStyle() void joinStyle=(const Qt_PenJoinStyle pcs)Description: Method void QPen::setJoinStyle(Qt::PenJoinStyle pcs) [const] double miterLimitDescription: Method double QPen::miterLimit() void miterLimit=(double limit)Description: Method void QPen::setMiterLimit(double limit) [static] new QPen newDescription: Constructor QPen::QPen() This method creates an object of class QPen. [static] new QPen new(const Qt_PenStyle arg1)Description: Constructor QPen::QPen(Qt::PenStyle) This method creates an object of class QPen. [static] new QPen new(const QColor color)Description: Constructor QPen::QPen(const QColor &color) This method creates an object of class QPen. [static] new QPen new(const QBrush brush,double width,const Qt_PenStyle s = Qt::SolidLine,const Qt_PenCapStyle c = Qt::SquareCap,const Qt_PenJoinStyle j = Qt::BevelJoin)Description: Constructor QPen::QPen(const QBrush &brush, double width, Qt::PenStyle s, Qt::PenCapStyle c, Qt::PenJoinStyle j) This method creates an object of class QPen. [static] new QPen new(const QPen pen)Description: Constructor QPen::QPen(const QPen &pen) This method creates an object of class QPen. void setBrush(const QBrush brush)Description: Method void QPen::setBrush(const QBrush &brush) void setCapStyle(const Qt_PenCapStyle pcs)Description: Method void QPen::setCapStyle(Qt::PenCapStyle pcs) void setColor(const QColor color)Description: Method void QPen::setColor(const QColor &color) void setCosmetic(bool cosmetic)Description: Method void QPen::setCosmetic(bool cosmetic) void setDashOffset(double doffset)Description: Method void QPen::setDashOffset(double doffset) void setDashPattern(double[] pattern)Description: Method void QPen::setDashPattern(const QVector<double> &pattern) void setJoinStyle(const Qt_PenJoinStyle pcs)Description: Method void QPen::setJoinStyle(Qt::PenJoinStyle pcs) void setMiterLimit(double limit)Description: Method void QPen::setMiterLimit(double limit) void setStyle(const Qt_PenStyle arg1)Description: Method void QPen::setStyle(Qt::PenStyle) void setWidth(int width)Description: Method void QPen::setWidth(int width) void setWidthF(double width)Description: Method void QPen::setWidthF(double width) [const] Qt_PenStyle styleDescription: Method Qt::PenStyle QPen::style() void style=(const Qt_PenStyle arg1)Description: Method void QPen::setStyle(Qt::PenStyle) [const] int widthDescription: Method int QPen::width() void width=(int width)Description: Method void QPen::setWidth(int width) [const] double widthFDescription: Method double QPen::widthF() void widthF=(double width)Description: Method void QPen::setWidthF(double width) |