共用方式為


BinaryLinkShapeBase.ExcludeFromClipRegion Method

Definition

Excludes this shape and its endpoint shapes from the clipping region in the specified Graphics object.

public:
 override void ExcludeFromClipRegion(System::Drawing::Graphics ^ graphics, System::Drawing::Drawing2D::Matrix ^ matrix, System::Drawing::Drawing2D::GraphicsPath ^ perimeter);
public override void ExcludeFromClipRegion (System.Drawing.Graphics graphics, System.Drawing.Drawing2D.Matrix matrix, System.Drawing.Drawing2D.GraphicsPath perimeter);
override this.ExcludeFromClipRegion : System.Drawing.Graphics * System.Drawing.Drawing2D.Matrix * System.Drawing.Drawing2D.GraphicsPath -> unit
Public Overrides Sub ExcludeFromClipRegion (graphics As Graphics, matrix As Matrix, perimeter As GraphicsPath)

Parameters

graphics
Graphics

Graphics object with valid clipping region

matrix
Matrix

The matrix is used to translate the shape's ShapeGeometry's graphics path to compensate for the parent-relative location of the shape.

perimeter
GraphicsPath

Applies to