[]
Sets the clipping region of this Graphics object to the result of the Replace combining the current clip region and the specified Region object.
public void SetClip(Region region)
Type | Name | Description |
---|---|---|
Region | region | Region object to combine. |
Only a copy of the setting region is used. The region itself can be seted for any number of other device contexts or it can be deleted.
Sets the clipping region of this Graphics object to the rectangle specified by a Rectangle structure.
public void SetClip(Rectangle rectangle)
Type | Name | Description |
---|---|---|
Rectangle | rectangle | Rectangle structure that represents the new clip region. |
Only a copy of the setting region is used. The region itself can be seted for any number of other device contexts or it can be deleted.
Sets the clipping region of this Graphics object to the result of the specified operation combining the current clip region and the rectangle specified by a Rectangle structure.
public void SetClip(Rectangle rectangle, CombineMode combineMode)
Type | Name | Description |
---|---|---|
Rectangle | rectangle | Rectangle structure to combine. |
CombineMode | combineMode | Member of the CombineMode enumeration that specifies the combining operation to use. |
Only a copy of the setting region is used. The region itself can be seted for any number of other device contexts or it can be deleted.
Sets the clipping region of this Graphics object to the result of the specified operation combining the current clip region and the specified Region object.
public void SetClip(Region region, CombineMode combineMode)
Type | Name | Description |
---|---|---|
Region | region | Region object to combine. |
CombineMode | combineMode | Member of the CombineMode enumeration that specifies the combining operation to use. |
Only a copy of the setting region is used. The region itself can be seted for any number of other device contexts or it can be deleted.