You are here: Start » AVL.NET » AVL.AlignRegion
Aligns a region to a coordinate system.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void AlignRegion ( AvlNet.Region inRegion, AvlNet.CoordinateSystem2D inAlignment, bool inInverse, AvlNet.Region outAlignedRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inAlignment | AvlNet.CoordinateSystem2D | Coordinate system to align to. | |||
inInverse | bool | Switches to the inverse transform. | |||
outAlignedRegion | AvlNet.Region |
Description
AlignRegion applies inAlignment transform to an input region.
Examples
Remarks
Region is a pixel-precise object, so geometrical transform may cause its deformation. Consider using a closed Path instead, which can be converted to a region in the last step.