Initialize the style to define an SMD pad.
Syntax: |
FWizPadStyle.InitPadSMD(sizeX, sizeY, shapeFactor=0, limit=true)
|
Parameters
Parameter |
Description |
sizeX |
Specifies the pad size along the X axis. |
sizeY |
Specifies the pad size along the Y axis. |
shapeFactor |
Specify the shape of the pad by defining whether the corners should be straight, rounded or beveled. Specify the shape of the pad as follows:
>0 and <=1 |
Corners are rounded. The value of shapeFactor specifies the rounding percentage of all four edges of the pad. |
=0 |
Angles are 90 degrees. |
>=-1 and < 0 |
The corners are beveled. The value of the shapeFactor specifies the percentage of bevel of all four corners of the pad. |
|
limit |
Specify true to limit the width of the corner radius otherwise specify false. |
Return Value
If the operation ends correctly, it returns true otherwise it returns false.
Example
|
Copy code
|
|
See also