svgen.shapes.pins
index
/home/vkottler/src/vkottler/workspace/svgen/svgen/shapes/pins.py

A module for adding pin elements to circuit chips.

 
Functions
       
add_pins(rect: svgen.element.rect.Rect, count: int, color: str) -> List[svgen.element.Element]
Add some number of pins to a rectangle.

 
Data
        BL = <RectangleCorner.BOTTOM_LEFT: CornerScalar(from_....0, dy=1.0), vector=Translation(dx=1.0, dy=0.0))>
BR = <RectangleCorner.BOTTOM_RIGHT: CornerScalar(from...0, dy=1.0), vector=Translation(dx=0.0, dy=-1.0))>
List = typing.List
TL = <RectangleCorner.TOP_LEFT: CornerScalar(from_ori....0, dy=0.0), vector=Translation(dx=0.0, dy=1.0))>
TR = <RectangleCorner.TOP_RIGHT: CornerScalar(from_or...0, dy=0.0), vector=Translation(dx=-1.0, dy=0.0))>