<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # QGraphicsPathItem Class Reference ## [[QtGui](index.htm) module] 該QGraphicsPathItem類提供了可以添加到一個路徑項[QGraphicsScene](qgraphicsscene.html)。[More...](#details) 繼承[QAbstractGraphicsShapeItem](qabstractgraphicsshapeitem.html)。 ### Methods * `__init__ (self, QGraphicsItem?parent?=?None, QGraphicsScene?scene?=?None)` * `__init__ (self, QPainterPath?path, QGraphicsItem?parent?=?None, QGraphicsScene?scene?=?None)` * `QRectF boundingRect (self)` * `bool contains (self, QPointF?point)` * `bool isObscuredBy (self, QGraphicsItem?item)` * `QPainterPath opaqueArea (self)` * `paint (self, QPainter?painter, QStyleOptionGraphicsItem?option, QWidget?widget?=?None)` * `QPainterPath path (self)` * `setPath (self, QPainterPath?path)` * `QPainterPath shape (self)` * `int type (self)` * * * ## Detailed Description 該QGraphicsPathItem類提供了可以添加到一個路徑項[QGraphicsScene](qgraphicsscene.html)。 要設置項目的路徑,通過一個[QPainterPath](qpainterpath.html)到QGraphicsPathItem的構造函數,或致電[setPath](qgraphicspathitem.html#setPath)()函數。該[path](qgraphicspathitem.html#pathx)( )函數返回當前路徑。 ![](https://img.kancloud.cn/d2/81/d281c70913da9469b58cf6cc1e4a9079_200x200.png) QGraphicsPathItem使用的路徑,以提供合理的實施[boundingRect](qgraphicspathitem.html#boundingRect)( )[shape](qgraphicspathitem.html#shape)()和[contains](qgraphicspathitem.html#contains)( ) 。該[paint](qgraphicspathitem.html#paint)使用該項目的相關畫筆和畫刷( )函數繪制的路徑,你可以通過調用設置[setPen](qabstractgraphicsshapeitem.html#setPen)()和[setBrush](qabstractgraphicsshapeitem.html#setBrush)()函數。 * * * ## Method Documentation ``` QGraphicsPathItem.__init__ (self, QGraphicsItem?parent?=?None, QGraphicsScene?scene?=?None) ``` 該_parent_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 該_scene_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 構造一個QGraphicsPath 。_parent_被傳遞給[QAbstractGraphicsShapeItem](qabstractgraphicsshapeitem.html)的構造。 **See also** [QGraphicsScene.addItem](qgraphicsscene.html#addItem)( ) 。 ``` QGraphicsPathItem.__init__ (self, QPainterPath?path, QGraphicsItem?parent?=?None, QGraphicsScene?scene?=?None) ``` 該_parent_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 該_scene_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 構造使用QGraphicsPath項目_path_作為默認的路徑。_parent_被傳遞給[QAbstractGraphicsShapeItem](qabstractgraphicsshapeitem.html)的構造。 **See also** [QGraphicsScene.addItem](qgraphicsscene.html#addItem)( ) 。 ``` QRectF QGraphicsPathItem.boundingRect (self) ``` [](qrectf.html) [從重新實現](qrectf.html)[QGraphicsItem.boundingRect](qgraphicsitem.html#boundingRect)( ) 。 ``` bool QGraphicsPathItem.contains (self, QPointF?point) ``` 從重新實現[QGraphicsItem.contains](qgraphicsitem.html#contains)( ) 。 ``` bool QGraphicsPathItem.isObscuredBy (self, QGraphicsItem?item) ``` 從重新實現[QGraphicsItem.isObscuredBy](qgraphicsitem.html#isObscuredBy)( ) 。 ``` QPainterPath QGraphicsPathItem.opaqueArea (self) ``` [](qpainterpath.html) [從重新實現](qpainterpath.html)[QGraphicsItem.opaqueArea](qgraphicsitem.html#opaqueArea)( ) 。 ``` QGraphicsPathItem.paint (self, QPainter?painter, QStyleOptionGraphicsItem?option, QWidget?widget?=?None) ``` 從重新實現[QGraphicsItem.paint](qgraphicsitem.html#paint)( ) 。 ``` QPainterPath QGraphicsPathItem.path (self) ``` [ ``` QGraphicsPathItem.setPath (self, QPainterPath?path) ``` 設置項的路徑,以在給定_path_。 ](qpainterpath.html) [**See also**](qpainterpath.html) [path](qgraphicspathitem.html#pathx)( ) 。 ``` QPainterPath QGraphicsPathItem.shape (self) ``` [](qpainterpath.html) [從重新實現](qpainterpath.html)[QGraphicsItem.shape](qgraphicsitem.html#shape)( ) 。 ``` int QGraphicsPathItem.type (self) ``` 從重新實現[QGraphicsItem.type](qgraphicsitem.html#type)( ) 。
                  <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>

                              哎呀哎呀视频在线观看