Adds a transparency layer to the
GcWicBitmapGraphics so that it receives all subsequent drawing operations until
PopTransparencyLayer is called.
シンタックス
'宣言
Public Overrides Sub PushTransparencyLayer( _
ByVal As System.Nullable(Of RectangleF), _
ByVal As System.Single _
)
public override void PushTransparencyLayer(
System.Nullable<RectangleF> ,
System.float
)
パラメータ
- contentBounds
- The content bounds of the transparency layer. Content won't render outside these bounds. When set to null 参照 (Visual Basicでは Nothing), the content bounds are effectively taken to be the bounds of the current GcWicBitmapGraphics.
- opacity
- An opacity value that is applied uniformly to all drawings in the layer when compositing to the backplate.
参照