<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # QAbstractGraphicsShapeItem Class Reference ## [[QtGui](index.htm) module] 該QAbstractGraphicsShapeItem類提供一個共同的基礎,所有的路徑項目。[More...](#details) 繼承[QGraphicsItem](qgraphicsitem.html)。 通過繼承[QGraphicsEllipseItem](qgraphicsellipseitem.html),[QGraphicsPathItem](qgraphicspathitem.html),[QGraphicsPolygonItem](qgraphicspolygonitem.html),[QGraphicsRectItem](qgraphicsrectitem.html)和[QGraphicsSimpleTextItem](qgraphicssimpletextitem.html)。 ### Methods * `__init__ (self, QGraphicsItem?parent?=?None, QGraphicsScene?scene?=?None)` * `QBrush brush (self)` * `bool isObscuredBy (self, QGraphicsItem?item)` * `QPainterPath opaqueArea (self)` * `QPen pen (self)` * `setBrush (self, QBrush?brush)` * `setPen (self, QPen?pen)` * * * ## Detailed Description 該QAbstractGraphicsShapeItem類提供一個共同的基礎,所有的路徑項目。 本身這個類沒有完全實現的項目,特別是它沒有實現[boundingRect](qgraphicsitem.html#boundingRect)()和[paint](qgraphicsitem.html#paint)(),它是由遺傳[QGraphicsItem](qgraphicsitem.html)。 你可以繼承此文件提供一個簡單的基實現訪問,為項目的畫筆和畫刷。 * * * ## Method Documentation ``` QAbstractGraphicsShapeItem.__init__ (self, QGraphicsItem?parent?=?None, QGraphicsScene?scene?=?None) ``` 該_parent_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 該_scene_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 構造一個[QAbstractGraphicsShapeItem](qabstractgraphicsshapeitem.html)。_parent_被傳遞給[QGraphicsItem](qgraphicsitem.html)的構造。 ``` QBrush QAbstractGraphicsShapeItem.brush (self) ``` [ 返回該項目的畫筆,或一個空刷,如果沒有刷已定。 ](qbrush.html) [**See also**](qbrush.html) [setBrush](qabstractgraphicsshapeitem.html#setBrush)( ) 。 ``` bool QAbstractGraphicsShapeItem.isObscuredBy (self, QGraphicsItem?item) ``` 從重新實現[QGraphicsItem.isObscuredBy](qgraphicsitem.html#isObscuredBy)( ) 。 ``` QPainterPath QAbstractGraphicsShapeItem.opaqueArea (self) ``` [](qpainterpath.html) [從重新實現](qpainterpath.html)[QGraphicsItem.opaqueArea](qgraphicsitem.html#opaqueArea)( ) 。 ``` QPen QAbstractGraphicsShapeItem.pen (self) ``` [ 返回該項目的筆下。如果沒有筆已定,這個函數返回QPen ( ) ,默認的黑色實線與筆寬0 。 ](qpen.html) [**See also**](qpen.html) [setPen](qabstractgraphicsshapeitem.html#setPen)( ) 。 ``` QAbstractGraphicsShapeItem.setBrush (self, QBrush?brush) ``` 設置項的刷_brush_。 該項目的刷來填充該項目。 如果使用毛刷帶[QGradient](qgradient.html)的梯度是相對于項目的坐標系。 **See also** [brush](qabstractgraphicsshapeitem.html#brush)( ) 。 ``` QAbstractGraphicsShapeItem.setPen (self, QPen?pen) ``` 設置筆的資料,以_pen_。 畫筆用于繪制項目的輪廓。 **See also** [pen](qabstractgraphicsshapeitem.html#pen)( ) 。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看