You are here: Start » FIL.NET » Invoke.CropRegionToQuadrangle
Creates a region from a quadrangular fragment of another one. The quadrangle must be convex.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void CropRegionToQuadrangle ( Fil.Region inRegion, Fil.Path inQuadrangle, Optional<Fil.Size> inOutputSize, Optional<Fil.CoordinateSystem2D> inQuadrangleAlignment, Fil.Region outRegion, Optional<Fil.Path> outAlignedShape )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | Fil.Region | Input region. | ||
![]() | inQuadrangle | Fil.Path | A convex quadrangle defining a region to be cropped (points must be clockwise). | ||
![]() | inOutputSize | Ftl.Optional<Fil.Size> | Width and height of the output region. Default value: ftl::NIL. | ||
![]() | inQuadrangleAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | Adjusts the quadrangle to the position of the inspected object. Default value: ftl::NIL. | ||
![]() | outRegion | Fil.Region | Output region. | ||
![]() | outAlignedShape | Ftl.Optional<Fil.Path> | The input quadrangle after transformation (in the region coordinates). |