IFilterAddToolDefinitionRectCorners Method

Create a Rectangle tool with option of corners.

Definition

Namespace: PCBI.Automation
Assembly: PCB-Investigator (in PCB-Investigator.exe) Version: 0
C#
public static int AddToolDefinitionRectCorners(
	IODBLayer Layer,
	double diameter,
	double height,
	double width,
	double cornerRadius,
	bool rounded
)

Parameters

Layer  IODBLayer
The name of the current layer
diameter  Double
dimeter for the tool
height  Double
the hight of the tool
width  Double
the width of the tool
cornerRadius  Double
Corner radius means the distance from the corner to the inner point of starting the connection to the other side (arc or line).
rounded  Boolean
corners are rounded?

Return Value

Int32
the index after check the nr of tooldefinition

See Also