Home :: GUI :: Shapes

  1. Introduction
  2. Reference
    1. Methods
      1. constructor
      2. init
      3. realize
      4. translate
      5. refresh
      6. select
      7. mousedown
    2. Properties
      1. point
      2. owner
  3. Example
  4. Download

Introduction

Handle is a JavaScript object used to represent points and key controls on descendants of the Shape object. Manipulating a Handle manipulates the object to which the handle belongs.

Handle is a sub-class of the Shape object.


Reference

Methods

constructor - new Handle(x, y, owner);

init();

realize();

translate(delta);

refresh();

select(state);

mousedown(e);

Properties


Example

This example allows you to adjust the position of multiple Handles. Here is a brief summary of the editing procedures:


Download

Handle.js