Skip to main content

stamped_port

Function stamped_port 

Source
pub fn stamped_port(at: Pos2) -> Rect
Expand description

The body box a port stamped on the canvas takes, on stamped_block’s terms. Only the width is a default: the height is PORT_HEIGHT, which port forces on whatever box it is handed anyway.