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