Overload | Description |
---|---|
PushClip(RectangleF,RectangleF) | Specifies a rectangle to which all subsequent drawing operations are clipped. Clipping is applied only if containerRect does not contain clipRect.
The GcGraphics.Clip object returned by this method implements IDisposable, so this method can be used with the 'using' pattern: using (g.PushClip(...)) ... in which case the clipping region will be removed when the returned object is disposed. |
PushClip(Nullable<RectangleF>) | Specifies a rectangle to which all subsequent drawing operations are clipped.
The GcGraphics.Clip object returned by this method implements IDisposable, so this method can be used with the 'using' pattern: using (g.PushClip(...)) ... in which case the clipping region will be removed when the returned object is disposed. |
PushClip(RectangleF) | Specifies a rectangle to which all subsequent drawing operations are clipped.
The GcGraphics.Clip object returned by this method implements IDisposable, so this method can be used with the 'using' pattern: using (g.PushClip(...)) ... in which case the clipping region will be removed when the returned object is disposed. |
PushClip(IPath) | Specifies a path to which all subsequent drawing operations are clipped.
The GcGraphics.Clip object returned by this method implements IDisposable, so this method can be used with the 'using' pattern: using (g.PushClip(...)) ... in which case the clipping region will be removed when the returned object is disposed. |
PushClip(IClipRegion) | Specifies a clipping region to which all subsequent drawing operations are clipped. |