PolygonOperations..::..OffsetSquare Method

Offsets all paths by the given offset value. Squares the corners. Offest value may be positive or negative. Loops must be ordered CCW positive.

Namespace:  TVGL
Assembly:  TessellationAndVoxelizationGeometryLibraryUniversal (in TessellationAndVoxelizationGeometryLibraryUniversal.dll)

Syntax


public static List<List<Point>> OffsetSquare(
	List<List<Point>> paths,
	double offset,
	double minLength
)
Public Shared Function OffsetSquare ( _
	paths As List(Of List(Of Point)), _
	offset As Double, _
	minLength As Double _
) As List(Of List(Of Point))
public:
static List<List<Point^>^>^ OffsetSquare(
	List<List<Point^>^>^ paths, 
	double^ offset, 
	double^ minLength
)

Parameters

paths
Type: List<(Of <(<'List<(Of <(<'Point>)>)>>)>)>
offset
Type: Double
minLength
Type: Double

Return Value