scistag.imagestag.pos2d.Pos2D¶
- class Pos2D(value=None, y=None, x=None)[source]¶
Bases:
objectDefines the position of a 2D element in pixels
- Parameters
Example:
Pos2D(15, 14) == Pos2D((15, 14)) == Pos2D(x=15, y=14) == Pos2D(Pos2D(x=15, y=14))Methods
Returns the position as int tuple
Returns the position as tuple
Attributes
__annotations____dataclass_fields____dataclass_params____dict____doc____hash____module____weakref__list of weak references to the object (if defined)
The x component
The y component