Skip to main content

draw_port_outline

Function draw_port_outline 

Source
pub fn draw_port_outline(
    bbox: Rect,
    side: PinSide,
    fill: Role,
    stroke: impl Into<RoleStroke>,
    painter: &mut Style<'_, impl Renderer>,
)
Expand description

Draws a pentagon whose point faces the direction of side (East or West).