初期値指定コンストラクタ
Namespace: FVIL.ConversionAssembly: FVILbasic (in FVILbasic.dll) Version: 3.1.0.0 (3.1.0.17)
Syntax
C# |
---|
public CFviGenerateChessboard( CFviImage image, int stepx, int stepy, int shiftx, int shifty ) |
Visual Basic |
---|
Public Sub New ( image As CFviImage, stepx As Integer, stepy As Integer, shiftx As Integer, shifty As Integer ) |
Parameters
- image
- Type: FVIL.Data..::..CFviImage
処理対象画像
- stepx
- Type: System..::..Int32
X方向周期(1~)
- stepy
- Type: System..::..Int32
Y方向周期(1~)
- shiftx
- Type: System..::..Int32
X方向位相移動量(0~)
- shifty
- Type: System..::..Int32
Y方向位相移動量(0~)
Remarks
処理対象画像とパラメータを指定してオブジェクトを構築します。
引数は下記のように設定され、このクラスのメンバフィールドに保管されます。
その他のメンバフィールドの初期値は、標準のコンストラクタを実行した場合と同様です。
エラーコード:
C# | Copy |
---|---|
Image = image; StepX = stepx; StepY = stepy; ShiftX = shiftx; ShiftY = shifty; |
設定に失敗した場合は例外を発行します。 例外の原因と発生位置を特定するには、発行された例外クラスの ErrorCode メンバと Function メンバを参照してください。
エラーコード:
値 | ErrorCode メンバ | 内容 |
---|---|---|
11 | FVIL.ErrorCode.INVALID_PARAMETER | 引数に指定された値が不正です。 |
Exceptions
Exception | Condition |
---|---|
FVIL..::..CFviException | この例外の原因については、上記のエラーコード表をご参照ください。 |