[]
Adds a transparency layer to the current graphics. That layer receives all subsequent drawing operations until PopTransparencyLayer() is called.
public virtual void PushTransparencyLayer(RectangleF? contentBounds, float opacity)
Public Overridable 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 graphics. |
float | opacity | An opacity value that is applied uniformly to all drawings in the layer when compositing to the backplate. |