Skip to main content

orientation

Function orientation 

Source
pub fn orientation(pin: &Pin) -> PinSide
Expand description

Which way a pin’s port body faces when the pin is drawn as its own boundary port. flip_lr reads false as “opposite the edge the pin occupies”, so the interior stub points inward, and true as “frozen to face that edge”. Use this, never slot’s side, for every port-view drawing, hit test, and route anchor.