You are here: Start » AVL.NET » AVS.InscribeRegionInRegion Method
AVS.InscribeRegionInRegion Method
Shifts source region so that it is contained in target region.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void InscribeRegionInRegion ( AvlNet.Region inTargetRegion, AvlNet.Region inSourceRegion, AvlNet.ShiftType inPossibleShift, AvlNet.FitType inFitType, out int? outShiftX, out int? outShiftY, INullable<AvlNet.Region> outShiftedRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inTargetRegion | AvlNet.Region | Region to contain source region. | |||
inSourceRegion | AvlNet.Region | Region to be shifted. | |||
inPossibleShift | AvlNet.ShiftType | Possible directions of shift. | |||
inFitType | AvlNet.FitType | Determines if the common border length should be maximized. | |||
outShiftX | int? | X coordinate of the shift. | |||
outShiftY | int? | Y coordinate of the shift. | |||
outShiftedRegion | AvlNet.INullable<AvlNet.Region> | Shifted source region. This parameter cannot be null. |