GraphicsPath オブジェクトに追加のアウトラインを追加します。
Overloads Public Sub Widen( _
ByVal pen As Pen, _ ByVal matrix As Matrix _)
[C#]
public void Widen(Penpen,Matrixmatrix);
[C++]
public: void Widen(Pen* pen,Matrix* matrix);
[JScript]
public function Widen(
pen : Pen,matrix : Matrix);
パラメータ
- pen
パスの元のアウトラインと、このメソッドが作成する新しいアウトラインの間の幅を指定する Pen オブジェクト。 - matrix
幅の拡張前にパスに適用する変換を指定する Matrix オブジェクト。
解説
このメソッドは、 GraphicsPath オブジェクトの元の線の周りにアウトラインを作成します。既存の線と新しいアウトライン間の距離として、Widen の呼び出し時に使用される Pen オブジェクトの幅が使用されます。線の間の空間を塗りつぶす場合は、 DrawPath オブジェクトではなく FillPath オブジェクトを使用する必要があります。
使用例
例については、 GraphicsPath.Widen Method (Pen, Matrix, Single) のトピックを参照してください。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
GraphicsPath クラス | GraphicsPath メンバ | System.Drawing.Drawing2D 名前空間 | GraphicsPath.Widen オーバーロードの一覧