[]
Adds a transparency layer to the GcBitmapGraphics so that it receives all subsequent drawing operations until PopTransparencyLayer() is called.
public override void PushTransparencyLayer(RectangleF? contentBounds, float opacity)
Public Overrides Sub PushTransparencyLayer(contentBounds As RectangleF?, opacity As Single)
Type | Name | Description |
---|---|---|
RectangleF? | contentBounds | The content bounds of the transparency layer. Content won't render outside these bounds. When set to null, the content bounds are effectively taken to be the bounds of the current GcBitmapGraphics. |
float | opacity | An opacity value that is applied uniformly to all drawings in the layer when compositing to the backplate. |