RectangleClip

Constructor

RectangleClip <id> (double x, double y, double width, double height)

Action

Creates a rectangle clip.

Predefined children

x, y, width, height.

Example


use core
use gui

_main_
Component root {
  Frame f ("myFrame", 0, 0, 400, 400)
  RectangleClip r (100, 100, 100, 100)
  Image _ ("/home/my_home/images/image.png", 0, 0, 400, 400)
}

run root
run syshook