scistag.imagestag.anchor2dΒΆ

Defines the Anchor2D class which defines how an object is drawn relative to the position passed.

Module attributes

Anchor2DLiterals

Shortcode alternative which can be passed to most functions supporting anchors to minimize the amount of imports required.

Anchor2DTypes

Ways to define an anchor type, either as Anchor2D enum or string literal

Classes

Anchor2D

Defines how an origin (such as a position) is interpreted when a shape such as a rectangle, a circle or a multi-line text is painted just given a position and a size is painted.