Skip to content

jsl/symbols/inductors

Package name: jsl/symbols/inductors

Summary

Data Types

InductorSymbolParams

Constructors

Function Description
InductorSymbolParams (+ 1) Constructor for defstruct InductorSymbolParams

InductorCoreStyle

InductorSymbol

Functions

Function Description
InductorSymbol
InductorGlyph

General Definitions

Definitions

InductorSymbolParams

public defstruct InductorSymbolParams <: SymbolParams
    core-style: InductorCoreStyle
    line-width: Double
    periods: Int
    porch-width: Double

  • core-style: InductorCoreStyle

  • line-width: Double

  • periods: Int - Number of half-circles in the inductor winding shape.

  • porch-width: Double

Constructors

InductorSymbolParams

Constructor for defstruct InductorSymbolParams

public defn InductorSymbolParams (core-style:InductorCoreStyle, porch-width:Double = ?, periods:Int = ?, line-width:Double = ?, label-params?:Maybe<SymbolLabelParams> = ?)

InductorSymbolParams

Constructor for defstruct InductorSymbolParams

public defn InductorSymbolParams ( -- core-style:InductorCoreStyle = ?, porch-width:Double = ?, periods:Int = ?, line-width:Double = ?, label-params?:Maybe<SymbolLabelParams> = ?)

Functions

InductorSymbol

public defn InductorSymbol ( -- pitch:Double = ?, params:InductorSymbolParams = ?, polarized?:True|False = ?) -> InductorSymbol

  • Returns InductorSymbol

InductorGlyph

public defn InductorGlyph (symb:InductorSymbol -- params:InductorSymbolParams = ?, name:String = ?, class:Seqable<String>|String = ?) -> Glyph

  • Returns Glyph

construct-inductor-shape

public defn construct-inductor-shape (pitch:Double, params:InductorSymbolParams) -> Shape

  • Returns Shape

to-tuple

public defn to-tuple (p:InductorSymbolParams) -> [InductorCoreStyle, Double, Int, Double]

  • Returns [InductorCoreStyle, Double, Int, Double]

build-inductor-glyphs

public defn build-inductor-glyphs (node:SymbolNode, pitch:Double, params:InductorSymbolParams)

get-default-inductor-symbol-params

public defn get-default-inductor-symbol-params () -> InductorSymbolParams

  • Returns InductorSymbolParams

set-default-inductor-symbol-params

public defn set-default-inductor-symbol-params (v:InductorSymbolParams) -> False

  • Returns False

InductorCoreStyle

public defenum InductorCoreStyle <: Equalable & Hashable

InductorSymbol

public defstruct InductorSymbol <: TwoPinSymbol

Functions

InductorSymbol

public defn InductorSymbol ( -- pitch:Double = ?, params:InductorSymbolParams = ?, polarized?:True|False = ?) -> InductorSymbol

  • Returns InductorSymbol

InductorGlyph

public defn InductorGlyph (symb:InductorSymbol -- params:InductorSymbolParams = ?, name:String = ?, class:Seqable<String>|String = ?) -> Glyph

  • Returns Glyph

General Definitions

get-default-inductor-symbol

public defn get-default-inductor-symbol ()

set-default-inductor-symbol

public defn set-default-inductor-symbol (symb:TwoPinSymbol)

Related Packages

Forwarded by packages: jsl/symbols/generators, jsl/symbols