Preparing search index...
The search index is not available
@tscircuit/builder
@tscircuit/builder
ComponentBuilderClass
Class ComponentBuilderClass
Hierarchy
ComponentBuilderClass
ResistorBuilderClass
CapacitorBuilderClass
InductorBuilderClass
BugBuilderClass
DiodeBuilderClass
PowerSourceBuilderClass
GroundBuilderClass
Implements
GenericComponentBuilder
Index
Constructors
constructor
Properties
builder_
type
footprint
name
ports
project_
builder
schematic_
position
schematic_
properties
schematic_
rotation
schematic_
symbol
source_
properties
tags
Methods
append
Child
build
label
Port
modify
Footprint
setFType
set
Footprint
set
Footprint
Center
set
Name
set
Schematic
Center
set
Schematic
Properties
set
Schematic
Rotation
set
Source
Properties
set
Tag
set
Tags
Constructors
constructor
new
Component
Builder
Class
(
project_builder
:
ProjectBuilder
)
:
ComponentBuilderClass
Parameters
project_builder:
ProjectBuilder
Returns
ComponentBuilderClass
Properties
builder_
type
builder_
type
:
any
= ...
footprint
footprint
:
FootprintBuilder
name
name
:
string
= null
ports
ports
:
PortsBuilder
project_
builder
project_
builder
:
ProjectBuilder
schematic_
position
schematic_
position
:
Point
= ...
schematic_
properties
schematic_
properties
:
any
= {}
schematic_
rotation
schematic_
rotation
:
number
= 0
schematic_
symbol
schematic_
symbol
:
SchematicSymbolBuilder
source_
properties
source_
properties
:
any
= {}
tags
tags
:
string
[]
= []
Methods
append
Child
append
Child
(
child
:
any
)
:
ComponentBuilderClass
Parameters
child:
any
Returns
ComponentBuilderClass
build
build
(
bc
:
BuildContext
)
:
Promise
<
any
[]
>
Parameters
bc:
BuildContext
Returns
Promise
<
any
[]
>
label
Port
label
Port
(
position
:
any
, name
:
any
)
:
ComponentBuilderClass
Parameters
position:
any
name:
any
Returns
ComponentBuilderClass
modify
Footprint
modify
Footprint
(
fn
:
any
)
:
ComponentBuilderClass
Parameters
fn:
any
Returns
ComponentBuilderClass
setFType
setFType
(
ftype
:
string
)
:
ComponentBuilderClass
Parameters
ftype:
string
Returns
ComponentBuilderClass
set
Footprint
set
Footprint
(
fp
:
string
|
FootprintBuilder
)
:
ComponentBuilderClass
Parameters
fp:
string
|
FootprintBuilder
Returns
ComponentBuilderClass
set
Footprint
Center
set
Footprint
Center
(
x
:
any
, y
:
any
)
:
ComponentBuilderClass
Parameters
x:
any
y:
any
Returns
ComponentBuilderClass
set
Name
set
Name
(
name
:
any
)
:
ComponentBuilderClass
Parameters
name:
any
Returns
ComponentBuilderClass
set
Schematic
Center
set
Schematic
Center
(
x
:
any
, y
:
any
)
:
ComponentBuilderClass
Parameters
x:
any
y:
any
Returns
ComponentBuilderClass
set
Schematic
Properties
set
Schematic
Properties
(
props
:
any
)
:
ComponentBuilderClass
Parameters
props:
any
Returns
ComponentBuilderClass
set
Schematic
Rotation
set
Schematic
Rotation
(
rotation
:
any
)
:
ComponentBuilderClass
Parameters
rotation:
any
Returns
ComponentBuilderClass
set
Source
Properties
set
Source
Properties
(
props
:
any
)
:
ComponentBuilderClass
Parameters
props:
any
Returns
ComponentBuilderClass
set
Tag
set
Tag
(
tag
:
any
)
:
ComponentBuilderClass
Parameters
tag:
any
Returns
ComponentBuilderClass
set
Tags
set
Tags
(
tags
:
any
)
:
ComponentBuilderClass
Parameters
tags:
any
Returns
ComponentBuilderClass
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@tscircuit/builder
Component
Builder
Class
constructor
builder_
type
footprint
name
ports
project_
builder
schematic_
position
schematic_
properties
schematic_
rotation
schematic_
symbol
source_
properties
tags
append
Child
build
label
Port
modify
Footprint
setFType
set
Footprint
set
Footprint
Center
set
Name
set
Schematic
Center
set
Schematic
Properties
set
Schematic
Rotation
set
Source
Properties
set
Tag
set
Tags
Generated using
TypeDoc