At My Fingertips

Documentation

Documentation

Function from library pytamaro

pin(pointgraphic)

pinpointgraphic

Creates a new graphic that corresponds to the provided graphic, with a new pinning position.

Each graphic is contained in a rectangular bounding box. There are 9 notable points, corresponding to the four corners of this rectangle, the middle points of the four edges and the center of the rectangle. These points can be referred to using these names: top_left, top_right, bottom_left, bottom_right, top_center, center_right, bottom_center, center_left and center.

pointthe point indicating the new pinning position

graphicoriginal graphic

A new graphic with the specified pinning position

Logo of PyTamaro

PyTamaro is a project created by the Lugano Computing Education Research Lab at the Software Institute of USI

Privacy PolicyPlatform Version 4153f55 (Wed, 02 Apr 2025 06:58:19 GMT)