Geda3.TextItem.shortest_distance – Gschem3 Reference Manual
Packages
Gschem3
Geda3
TextItem
TYPE_ID
alignment
angle
color
name
presentation
size
text
value
visibility
visible_text
x
y
TextItem
TextItem.as_attribute
calculate_bounds
draw
intersects_box
invalidate_on
mirror_x
mirror_y
read_with_params
rotate
set_pair
set_point
shortest_distance
translate
write
shortest_distance
Description:
public
override
double
shortest_distance
(
SchematicPainter
painter,
int
x,
int
y)
Calculate the shortest distance from the point to the item