You are here: Start » AVL.NET » AVL.CreateRectangleBorderRegion(AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, float, AvlNet.BorderPosition, int, int, AvlNet.Region, AvlNet.Rectangle2D)

AVL.CreateRectangleBorderRegion(AvlNet.Rectangle2D, AvlNet.CoordinateSystem2D?, float, AvlNet.BorderPosition, int, int, AvlNet.Region, AvlNet.Rectangle2D)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void CreateRectangleBorderRegion(
	AvlNet.Rectangle2D inRectangle,
	AvlNet.CoordinateSystem2D? inRectangleAlignment,
	float inBorderWidth,
	AvlNet.BorderPosition inBorderPosition,
	int inFrameWidth,
	int inFrameHeight,
	out AvlNet.Region outRegion,
	out AvlNet.Rectangle2D outAlignedRectangle
)

Parameters

inRectangle
Type: AvlNet.Rectangle2D
inRectangleAlignment
Type: System.Nullable<AvlNet.CoordinateSystem2D>
inBorderWidth
Type: System.Single
inBorderPosition
Type: AvlNet.BorderPosition
inFrameWidth
Type: System.Int32
inFrameHeight
Type: System.Int32
outRegion
Type: AvlNet.Region
outAlignedRectangle
Type: AvlNet.Rectangle2D

Errors

Error type Description
DomainError Incorrect BorderPosition in CreateRectangleBorderRegion.

See also