Canvas.group
A group is a [full_item
] container_item
. Its default class_
is "canvas_group"
.
inherit container_item
method as_group : group
method items : full_item list
method add_item : ?x:int -> ?y:int -> full_item -> unit
Adds the given item to group. The item's coordinates can be set with x
and y
optional arguments.
method remove_item : full_item -> unit
Removes the given item from the group.
method raise : full_item -> unit
Raises the given item above all the other items of the group.