OverlayBitmap.DrawSolidEllipse Method
ライブ画像上に楕円形を描写します。
構文
  [VB.NET]
  
Public Sub  DrawSolidEllipse
   ( clr As System.Drawing.Color, x0 As Integer , y0 As Integer , x1 As Integer , y1 As Integer  )
  [C#]
  
  
  public void  DrawsolidEllipse( System.Drawing.Color clr, int x0, int y0, int x1, int y1 );| パラメータ | 説 明 | 
|---|---|
| clr | 楕円形の色を指定します。 | 
| x0 | ライブ画像上の楕円形を取り囲む外接四角形の左上のX座標をピクセルで指定します。 | 
| y0 | ライブ画像上の楕円形を取り囲む外接四角形の左上のY座標をピクセルで指定します。 | 
| x1 | ライブ画像上の楕円形を取り囲む外接四角形の右下のX座標をピクセルで指定します。 | 
| y1 | ライブ画像上の楕円形を取り囲む外接四角形の右下のY座標をピクセルで指定します。 | 
制限
インフォメーション
IC Imaging Control 2.0より導入
サンプル
この例はライブ画像上に緑色で楕円形を描くようにしています。
[VB.NET]Dim ob As OverlayBitmap
ob = IcImagingControl1.OverlayBitmap
ob.DrawSolidEllipse(System.Drawing.Color.Green, 10, 10, 250, 200)OverlayBitmap ob = ICImagingControl1.OverlayBitmapAtPath[PathPositions.Device];
ob.DrawSolidEllipse(System.Drawing.Color.Green, 10, 10, 250, 200);関連項目
OverlayBitmap.DrawFrameEllipseクラスライブラリリファレンス>クラス>OverlayBitmap>OverlayBitmap.DrawFrameEllipse Method, ICImagingControl.LiveStartクラスライブラリリファレンス>クラス>ICImagingControl>ICImagingControl.LiveStart Method, ICImagingControl.OverlayBitmapクラスライブラリリファレンス>クラス>ICImagingControl>ICImagingControl.OverlayBitmap Property
