lowermostDot

$canvaseditor lowermostDot ?-gravity?
returns lowermost dot in selection

obj method canvaseditor lowermostDot args {
  foreach dot [$self dots -selected {*}$args] {
    dict set all [$dot cget -y] $dot
  }
  dict get $all [max {*}[dict keys $all]]
}

© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z