Preparing search index...
The search index is not available
@tscircuit/builder
@tscircuit/builder
ResistorBuilderClass
Class ResistorBuilderClass
Hierarchy
ComponentBuilderClass
ResistorBuilderClass
Implements
ResistorBuilder
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
Resistor
Builder
Class
(
project_builder
:
ProjectBuilder
)
:
ResistorBuilderClass
Parameters
project_builder:
ProjectBuilder
Returns
ResistorBuilderClass
Properties
builder_
type
builder_
type
:
"resistor_builder"
= ...
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
)
:
ResistorBuilderClass
Parameters
child:
any
Returns
ResistorBuilderClass
build
build
(
bc
:
BuildContext
)
:
Promise
<
AnyElement
[]
>
Parameters
bc:
BuildContext
Returns
Promise
<
AnyElement
[]
>
label
Port
label
Port
(
position
:
any
, name
:
any
)
:
ResistorBuilderClass
Parameters
position:
any
name:
any
Returns
ResistorBuilderClass
modify
Footprint
modify
Footprint
(
fn
:
any
)
:
ResistorBuilderClass
Parameters
fn:
any
Returns
ResistorBuilderClass
setFType
setFType
(
ftype
:
string
)
:
ResistorBuilderClass
Parameters
ftype:
string
Returns
ResistorBuilderClass
set
Footprint
set
Footprint
(
fp
:
string
|
FootprintBuilder
)
:
ResistorBuilderClass
Parameters
fp:
string
|
FootprintBuilder
Returns
ResistorBuilderClass
set
Footprint
Center
set
Footprint
Center
(
x
:
any
, y
:
any
)
:
ResistorBuilderClass
Parameters
x:
any
y:
any
Returns
ResistorBuilderClass
set
Name
set
Name
(
name
:
any
)
:
ResistorBuilderClass
Parameters
name:
any
Returns
ResistorBuilderClass
set
Schematic
Center
set
Schematic
Center
(
x
:
any
, y
:
any
)
:
ResistorBuilderClass
Parameters
x:
any
y:
any
Returns
ResistorBuilderClass
set
Schematic
Properties
set
Schematic
Properties
(
props
:
any
)
:
ResistorBuilderClass
Parameters
props:
any
Returns
ResistorBuilderClass
set
Schematic
Rotation
set
Schematic
Rotation
(
rotation
:
any
)
:
ResistorBuilderClass
Parameters
rotation:
any
Returns
ResistorBuilderClass
set
Source
Properties
set
Source
Properties
(
props
:
SimpleResistor
)
:
ResistorBuilderClass
Parameters
props:
SimpleResistor
Returns
ResistorBuilderClass
set
Tag
set
Tag
(
tag
:
any
)
:
ResistorBuilderClass
Parameters
tag:
any
Returns
ResistorBuilderClass
set
Tags
set
Tags
(
tags
:
any
)
:
ResistorBuilderClass
Parameters
tags:
any
Returns
ResistorBuilderClass
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@tscircuit/builder
Resistor
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