You are here: Start » AVL.NET » AVL.SplitRegionIntoMultipleCharacters Method

AVL.SplitRegionIntoMultipleCharacters Method

Splits the input region into an array of regions corresponding to individual characters.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void SplitRegionIntoMultipleCharacters(
	AvlNet.Region inRegion,
	float inProjectionSmooth,
	int inCharacterWidth,
	out AvlNet.Region[] outRegions,
	out AvlNet.Region[] diagClasses,
	out AvlNet.Profile diagProjection
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region containing characters.
inProjectionSmoothfloat<0.0f, INF>1.0fValue of smooth applied to region projection before splitting into separated characters. Default value: 1.0f.
inCharacterWidthint<0, INF>15Single character width. Default value: 15.
outRegionsAvlNet.RegionArray or regions containing single characters.
diagClassesAvlNet.RegionRegions in which characters parts will be connected into a single character region.
diagProjectionAvlNet.ProfileProfile of region projection used to distinguish characters.

See also