package stk

  1. Overview
  2. Docs
method root : group

Returns root group.

method set_root : group -> unit

Sets root group.

method clear : unit

Freezes, removes all items from root group and unfreezes.

method get_item_at : x:int -> y:int -> full_item option

Returns item at the given coordinates, if any. Coordinates have the same origin as the canvas coordinates.

method get_leaf_items_at : x:int -> y:int -> full_item list

Get leaf items at the given coordinates. Coordinates have the same origin as the canvas coordinates.

OCaml

Innovation. Community. Security.