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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # QGraphicsDropShadowEffect Class Reference ## [[QtGui](index.htm) module] 該QGraphicsDropShadowEffect類提供了一個陰影效果。[More...](#details) 繼承[QGraphicsEffect](qgraphicseffect.html)。 ### Methods * `__init__ (self, QObject?parent?=?None)` * `float blurRadius (self)` * `QRectF boundingRectFor (self, QRectF?rect)` * `QColor color (self)` * `draw (self, QPainter?painter)` * `QPointF offset (self)` * `setBlurRadius (self, float?blurRadius)` * `setColor (self, QColor?color)` * `setOffset (self, QPointF?ofs)` * `setOffset (self, float?dx, float?dy)` * `setOffset (self, float?d)` * `setXOffset (self, float?dx)` * `setYOffset (self, float?dy)` * `float xOffset (self)` * `float yOffset (self)` ### Qt Signals * `void blurRadiusChanged (qreal)` * `void colorChanged (const QColor&)` * `void offsetChanged (const QPointF&)` * * * ## Detailed Description 該QGraphicsDropShadowEffect類提供了一個陰影效果。 陰影效果渲染與陰影的來源。陰影的顏色可以使用修改的[setColor](qgraphicsdropshadoweffect.html#color-prop)()函數。陰影的偏移值可以使用修改的[setOffset](qgraphicsdropshadoweffect.html#offset-prop)( )函數和陰影的模糊半徑可以與被改變[setBlurRadius](qgraphicsdropshadoweffect.html#blurRadius-prop)()函數。 默認情況下,陰影是半透明的暗灰色([QColor](qcolor.html)( 63 , 63 , 63 , 180 ) )的影子,模糊為1的半徑的8個像素向右下方偏移。陰影的偏移值被指定在設備坐標。 ![](https://img.kancloud.cn/93/87/93877a60de3e3843fbe094d9b0b1fdb5_320x195.png) * * * ## Method Documentation ``` QGraphicsDropShadowEffect.__init__ (self, QObject?parent?=?None) ``` 該_parent_的說法,如果不是沒有,原因_self_通過Qt的,而不是PyQt的擁有。 構造一個新的[QGraphicsDropShadowEffect](qgraphicsdropshadoweffect.html)實例。該_parent_參數被傳遞到[QGraphicsEffect](qgraphicseffect.html)的構造。 ``` float QGraphicsDropShadowEffect.blurRadius (self) ``` ``` QRectF QGraphicsDropShadowEffect.boundingRectFor (self, QRectF?rect) ``` [](qrectf.html) [從重新實現](qrectf.html)[QGraphicsEffect.boundingRectFor](qgraphicseffect.html#boundingRectFor)( ) 。 ``` QColor QGraphicsDropShadowEffect.color (self) ``` [ ``` QGraphicsDropShadowEffect.draw (self, QPainter?painter) ``` ](qcolor.html) [從重新實現](qcolor.html)[QGraphicsEffect.draw](qgraphicseffect.html#draw)( ) 。 ``` QPointF QGraphicsDropShadowEffect.offset (self) ``` [ ``` QGraphicsDropShadowEffect.setBlurRadius (self, float?blurRadius) ``` 這種方法也是一個Qt槽與C + +的簽名`void setBlurRadius(qreal)`。 ``` QGraphicsDropShadowEffect.setColor (self, QColor?color) ``` 這種方法也是一個Qt槽與C + +的簽名`void setColor(const QColor&)`。 ``` QGraphicsDropShadowEffect.setOffset (self, QPointF?ofs) ``` 這種方法也是一個Qt槽與C + +的簽名`void setOffset(const QPointF&)`。 ``` QGraphicsDropShadowEffect.setOffset (self, float?dx, float?dy) ``` 這種方法也是一個Qt槽與C + +的簽名`void setOffset(qreal,qreal)`。 ``` QGraphicsDropShadowEffect.setOffset (self, float?d) ``` 這種方法也是一個Qt槽與C + +的簽名`void setOffset(qreal)`。 ``` QGraphicsDropShadowEffect.setXOffset (self, float?dx) ``` 這種方法也是一個Qt槽與C + +的簽名`void setXOffset(qreal)`。 ``` QGraphicsDropShadowEffect.setYOffset (self, float?dy) ``` 這種方法也是一個Qt槽與C + +的簽名`void setYOffset(qreal)`。 ``` float QGraphicsDropShadowEffect.xOffset (self) ``` ``` float QGraphicsDropShadowEffect.yOffset (self) ``` * * * ## Qt Signal Documentation ``` void blurRadiusChanged (qreal) ``` 這是該信號的默認超載。 這個信號被發射時的效果的模糊半徑的變化。該_blurRadius_參數保存效果的新的模糊半徑。 ``` void colorChanged (const QColor&) ``` 這是該信號的默認超載。 這個信號被發射時的效果的顏色變化。該_color_參數保存效果的新顏色。 ``` void offsetChanged (const QPointF&) ``` 這是該信號的默認超載。 這個信號被發射時的效果的陰影偏移的變化。該_offset_參數保存效果的新的陰影偏移。 ](qpointf.html)
                  <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>

                              哎呀哎呀视频在线观看