Preparing search index...
The search index is not available
@tscircuit/builder
@tscircuit/builder
SMTPadBuilderClass
Class SMTPadBuilderClass
Hierarchy
SMTPadBuilderClass
Implements
SMTPadBuilder
Index
Constructors
constructor
Properties
builder_
type
height
layer
project_
builder
radius
shape
width
x
y
Methods
build
set
Layer
set
Position
set
Props
set
Radius
set
Shape
set
Size
Constructors
constructor
new SMTPad
Builder
Class
(
project_builder
:
ProjectBuilder
)
:
SMTPadBuilderClass
Parameters
project_builder:
ProjectBuilder
Returns
SMTPadBuilderClass
Properties
builder_
type
builder_
type
:
"smtpad_builder"
= ...
height
height
:
Dimension
layer
layer
:
LayerRef
project_
builder
project_
builder
:
ProjectBuilder
radius
radius
:
Dimension
shape
shape
:
"circle"
|
"rect"
width
width
:
Dimension
x
x
:
Dimension
y
y
:
Dimension
Methods
build
build
(
bc
:
BuildContext
)
:
Promise
<
PCBSMTPad
[]
>
Parameters
bc:
BuildContext
Returns
Promise
<
PCBSMTPad
[]
>
set
Layer
set
Layer
(
layer
:
any
)
:
SMTPadBuilderClass
Parameters
layer:
any
Returns
SMTPadBuilderClass
set
Position
set
Position
(
x
:
Dimension
, y
:
Dimension
)
:
SMTPadBuilderClass
Parameters
x:
Dimension
y:
Dimension
Returns
SMTPadBuilderClass
set
Props
set
Props
(
props
:
PCBSMTPad
)
:
SMTPadBuilderClass
Parameters
props:
PCBSMTPad
Returns
SMTPadBuilderClass
set
Radius
set
Radius
(
radius
:
number
)
:
SMTPadBuilderClass
Parameters
radius:
number
Returns
SMTPadBuilderClass
set
Shape
set
Shape
(
shape
:
"circle"
|
"rect"
)
:
SMTPadBuilderClass
Parameters
shape:
"circle"
|
"rect"
Returns
SMTPadBuilderClass
set
Size
set
Size
(
width_or_radius
:
Dimension
, height
?:
Dimension
)
:
SMTPadBuilderClass
Parameters
width_or_radius:
Dimension
Optional
height:
Dimension
Returns
SMTPadBuilderClass
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@tscircuit/builder
SMTPad
Builder
Class
constructor
builder_
type
height
layer
project_
builder
radius
shape
width
x
y
build
set
Layer
set
Position
set
Props
set
Radius
set
Shape
set
Size
Generated using
TypeDoc