Preparing search index...
The search index is not available
@tscircuit/builder
@tscircuit/builder
CapacitorBuilder
Interface CapacitorBuilder
Hierarchy
BaseComponentBuilder
<
CapacitorBuilder
>
CapacitorBuilder
Implemented by
CapacitorBuilderClass
Index
Properties
builder_
type
footprint
ports
project_
builder
schematic_
symbol
set
Name
set
Tag
set
Tags
Methods
append
Child
build
label
Port
modify
Footprint
set
Footprint
set
Footprint
Center
set
Schematic
Center
set
Schematic
Properties
set
Schematic
Rotation
set
Source
Properties
Properties
builder_
type
builder_
type
:
"capacitor_builder"
footprint
footprint
:
FootprintBuilder
ports
ports
:
PortsBuilder
project_
builder
project_
builder
:
ProjectBuilder
schematic_
symbol
schematic_
symbol
:
SchematicSymbolBuilder
set
Name
set
Name
:
(
(
name
:
string
)
=>
BaseComponentBuilder
<
CapacitorBuilder
>
)
Type declaration
(
name
:
string
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
name:
string
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
set
Tag
set
Tag
:
(
(
tag
:
string
)
=>
BaseComponentBuilder
<
CapacitorBuilder
>
)
Type declaration
(
tag
:
string
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
tag:
string
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
set
Tags
set
Tags
:
(
(
tags
:
string
[]
)
=>
BaseComponentBuilder
<
CapacitorBuilder
>
)
Type declaration
(
tags
:
string
[]
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
tags:
string
[]
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
Methods
append
Child
append
Child
(
child
:
{
builder_type
:
string
}
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
child:
{
builder_type
:
string
}
builder_
type
:
string
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
build
build
(
build_context
:
BuildContext
)
:
Promise
<
AnyElement
[]
>
Parameters
build_context:
BuildContext
Returns
Promise
<
AnyElement
[]
>
label
Port
label
Port
(
position
:
number
, name
:
string
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
position:
number
name:
string
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
modify
Footprint
modify
Footprint
(
cb
:
(
(
fb
:
FootprintBuilder
)
=>
any
)
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
cb:
(
(
fb
:
FootprintBuilder
)
=>
any
)
(
fb
:
FootprintBuilder
)
:
any
Parameters
fb:
FootprintBuilder
Returns
any
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
set
Footprint
set
Footprint
(
fp
:
string
|
FootprintBuilder
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
fp:
string
|
FootprintBuilder
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
set
Footprint
Center
set
Footprint
Center
(
x
:
string
|
number
, y
:
string
|
number
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
x:
string
|
number
y:
string
|
number
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
set
Schematic
Center
set
Schematic
Center
(
x
:
string
|
number
, y
:
string
|
number
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
x:
string
|
number
y:
string
|
number
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
set
Schematic
Properties
set
Schematic
Properties
(
properties
:
Partial
<
SchematicComponent
>
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
properties:
Partial
<
SchematicComponent
>
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
set
Schematic
Rotation
set
Schematic
Rotation
(
rotation
:
number
|
`
${
number
}
deg
`
)
:
BaseComponentBuilder
<
CapacitorBuilder
>
Parameters
rotation:
number
|
`
${
number
}
deg
`
Returns
BaseComponentBuilder
<
CapacitorBuilder
>
set
Source
Properties
set
Source
Properties
(
properties
:
Except
<
SimpleCapacitor
,
"ftype"
|
"type"
|
"name"
|
"source_component_id"
>
&
{
name
?:
string
}
)
:
CapacitorBuilder
Parameters
properties:
Except
<
SimpleCapacitor
,
"ftype"
|
"type"
|
"name"
|
"source_component_id"
>
&
{
name
?:
string
}
Returns
CapacitorBuilder
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@tscircuit/builder
Capacitor
Builder
builder_
type
footprint
ports
project_
builder
schematic_
symbol
set
Name
set
Tag
set
Tags
append
Child
build
label
Port
modify
Footprint
set
Footprint
set
Footprint
Center
set
Schematic
Center
set
Schematic
Properties
set
Schematic
Rotation
set
Source
Properties
Generated using
TypeDoc