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