PushTransparencyLayer Method (GcGraphics)
In This Topic
Adds a transparency layer to the current graphics. That layer receives all subsequent drawing operations until
PopTransparencyLayer is called.
Syntax
'Declaration
Public Overridable Sub PushTransparencyLayer( _
ByVal As System.Nullable(Of RectangleF), _
ByVal As System.Single _
)
public virtual void PushTransparencyLayer(
System.Nullable<RectangleF> ,
System.float
)
Parameters
- contentBounds
- The content bounds of the transparency layer. Content won't render outside these bounds. When set to a null reference (Nothing in Visual Basic), the content bounds are effectively taken to be the bounds of the current graphics.
- opacity
- An opacity value that is applied uniformly to all drawings in the layer when compositing to the backplate.
See Also