Skip to main content

draw_port

Function draw_port 

Source
pub fn draw_port(
    bbox: Rect,
    side: PinSide,
    text: &str,
    type_label: &str,
    tag: &str,
    tag_visibility: TagVisibility,
    kind: PinDir,
    fill: Role,
    stroke: impl Into<RoleStroke>,
    painter: &mut Style<'_, impl Renderer>,
    pin_role: Role,
)