For the router: frees it and everything added to it. For other objects:
removes the object. Shapes, junctions and connectors are removed through
their router, like router.deleteShape(shape), with the same
restrictions; a pin is removed from its shape or junction immediately.
Everything the object owns goes with it. Using the object afterwards
throws.
Same as delete(), for using declarations.
True once the object was freed, whether by its own delete() or by deleting its owner (e.g. a pin's shape, or the router).
Sets the cost (≥ 0) of attaching a connector to this pin. Among pins of the same class, cheaper pins are chosen first; without costs, the router chooses only by the length of the resulting route.
Position on the parent shape's current polygon, or the junction's position.
Directions connectors may leave the pin in.
Sets whether only one connector may attach to this pin; further connectors to the same class then use other pins. By default, pins with specific directions are exclusive and pins with ConnDirAll are not.
Whether only one connector may attach to this pin; see setExclusive().
Moves a shape's pin. position is a new offset from the shape's top-left
corner, interpreted like x/y of ShapeRef.addPin: a fraction of the
size if the pin was created as proportional. Only for pins of shapes:
a junction's pin is always at the junction's position.
A point on a shape or junction that connectors attach to. Created by
shape.addPin/junction.addPinand removed with its shape or junction. To remove a single pin, call its delete(), which takes effect immediately.