
Create Options
Create Circle
There are two methods to create a circle :
- Circle_rad - Creating a circle by radius size
- < ButtonPress-1 >
- In the canvas identifies the point for the centre of the circle.
- < B1-Motion >
- Creates a visual aid for the user in the form of a square which shares
its centre with the circle to be created. This is controlled by
movement in the x-plane.
- < ButtonRelease-1 >
- Identifies the outer edge of the circle, and creates the shape.
- Circle_bb - Creating a circle in a bounding-box
- < ButtonPress-1 >
- In the canvas identifies the point for the top-left or bottom-right of
a bounding-box.
- < B1-Motion >
- Creates a visual aid for the user in the form of a square into which
the circle will fit.This is controlled by movement in the x-plane.
- < ButtonRelease-1 >
- Identifies the opposite corner of the box and creates the shape.
Create Rectangle
- < ButtonPress-1 >
- In the canvas identifies the point for the top-left or bottom-right of
a bounding-box.
- < B1-Motion >
- Creates a visual aid for the user in the form of a square into which
the rectangle will fit.This is controlled by movements in the x- and
y- planes.
- < ButtonRelease-1 >
- Identifies the opposite corner of the box and creates the shape.
Create Polygon
- < ButtonPress-1 >
- In the canvas identifies a point for the polygon. At present you are
allowed up to a maximum of 50 points, the server ignores any points
after this.
- < ButtonPress-2 >
- This identifies the final point for the polygon. It closes the shape
and draws it on the canvas.
NB// There is no need to explicitly close a polygon object.
Pressing Mouse-button-2 does this for you.
Keep in mind that the maximum number of points that is allowed by imagemap is
50. Any more than this causes the mechanism to break down.
---
Gudge.