Document Solutions for Imaging
GrapeCity.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmapGraphics Class / PushTransparencyLayer Method
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 GcWicBitmapGraphics.
An opacity value that is applied uniformly to all drawings in the layer when compositing to the backplate.

In This Topic
    PushTransparencyLayer Method (GcWicBitmapGraphics)
    In This Topic
    Adds a transparency layer to the GcWicBitmapGraphics so that it receives all subsequent drawing operations until PopTransparencyLayer is called.
    Syntax
    'Declaration
     
    Public Overrides Sub PushTransparencyLayer( _
       ByVal contentBounds As System.Nullable(Of RectangleF), _
       ByVal opacity As System.Single _
    ) 
    public override void PushTransparencyLayer( 
       System.Nullable<RectangleF> contentBounds,
       System.float opacity
    )

    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 GcWicBitmapGraphics.
    opacity
    An opacity value that is applied uniformly to all drawings in the layer when compositing to the backplate.
    See Also