Skip to main content

Module rectangle

Module rectangle 

Source

Structsยง

AnchorPoint
RectAnnotation

Constantsยง

DEFAULT_TYPE ๐Ÿ”’
HITBOX_SIZE_FACTOR ๐Ÿ”’
SELECTED_GAMMA_FACTOR ๐Ÿ”’
SELECTED_WIDTH_FACTOR ๐Ÿ”’

Functionsยง

calculate_y ๐Ÿ”’
point_on_rect_border ๐Ÿ”’
Creates an outer and inner rectangle, used to identify whether the annotation was clicked on.