Class: RubyQt6::QtGui::QPen

Inherits:
Object
  • Object
show all
Defined in:
lib/qt6/qtgui/qpen.rb

Overview

Instance Method Summary collapse

Constructor Details

#initializeQPen #initialize(style) ⇒ QPen #initialize(color) ⇒ QPen #initialize(brush, width) ⇒ QPen #initialize(brush, width, style) ⇒ QPen #initialize(brush, width, style, cap) ⇒ QPen #initialize(brush, width, style, cap, join) ⇒ QPen

Overloads:

  • #initialize(style) ⇒ QPen

    Parameters:

    • style (Qt::PenStyle)
  • #initialize(color) ⇒ QPen

    Parameters:

  • #initialize(brush, width) ⇒ QPen

    Parameters:

    • brush (QBrush)
    • width (Float)
  • #initialize(brush, width, style) ⇒ QPen

    Parameters:

    • brush (QBrush)
    • width (Float)
    • style (Qt::PenStyle)
  • #initialize(brush, width, style, cap) ⇒ QPen

    Parameters:

    • brush (QBrush)
    • width (Float)
    • style (Qt::PenStyle)
    • cap (Qt::PenCapStyle)
  • #initialize(brush, width, style, cap, join) ⇒ QPen

    Parameters:

    • brush (QBrush)
    • width (Float)
    • style (Qt::PenStyle)
    • cap (Qt::PenCapStyle)
    • join (Qt::PenJoinStyle)


41
42
43
# File 'lib/qt6/qtgui/qpen.rb', line 41

def initialize(*args)
  _initialize(*args)
end