Ellipse drawing tool

Log-in or register.

Ellipse drawing tool

rsrc/ellipse-tool.png image ELLIPSE is a drawing tool capable of drawing filled ellipses and/or ellipse outlines. The ellipse can be rotated.

Ellipse configuration panel

rsrc/ellipse-tool-config.png image

If the Circle option is selected, the width and height of the drawn shape is kept the same.

How to use the Ellipse tool

Press the left mouse button over the canvas, move the mouse and release the button. A new ellipse is created and control handles appear. You can drag the handles to resize the ellipse or circle. The brown control handle can be used to rotate the ellipse.

In a vector layer, the ellipse can be converted to Shape and further refined by selecting Convert to Shape from the Object or the context menus.

Scripting parameters

ELLIPSE tool can be used from scripts. The command in script may have 4 to 6 parameters:

  • centerX, centerY - center of the drawn ellipse.
  • sizeX - width of the ellipse.
  • sizeY (optional) - height of the ellipse; if this argument is missing, sizeY defaults to sizeX resulting in a circle.
  • angle (optional) - clockwise rotation of the ellipse in radians (default is 0 radians).

Example

DrawTool.ELLIPSE(Document, 100, 100, 50, 30);
DrawTool.ELLIPSE(Document, 100, 100, 50, 30, 40/180*pi); // ellipse rotated by 40 degrees clockwise
DrawTool.ELLIPSE(Document, 100, 100, 30); // circle with radius of 30 pixels

See also: DrawTool object, Document object, Rectangle tool

Recent comments

- show all comments
user icon Anonymous on November 26th 2014

I want the yellow circle around my mouse. I am already at the eclipse stage, however have selected colour yellow and it isn't showing around the mouse on left hand side of the editing column,

user icon Anonymous on December 15th 2014

Vlasta please answer so that people can understand! I want to know how to get the circle around my cursor too! :-(

user icon Vlasta site administrator on December 15th 2014

Well, select the ellipse tool, select the color, probably pick something semi-transparent, and draw the ellipse by dragging from left upper corner of the canvas to right lower one. You may also want to switch to the Paint under mode to have the ellipse under the existing cursor.

user icon Anonymous on December 16th 2014

Well where's the color?! (*_*)

user icon Vlasta site administrator on December 16th 2014

Right side of the window. You must have Ellipse or another tool that actually needs a color active to see the panel.

user icon Anonymous on December 16th 2014

What window?

user icon Vlasta site administrator on December 16th 2014

I guess I know what is your problem. You have probably opened one of the aero cursors from Windows 7 or have created a Windows 7 cursor. These actually have 2 images in them, one used for normal resolution, another one used for high resolution displays. You should modify both of them. If you only modify for example the larger one and you are using standard resolution mode in your Windows, you will not see the change. If there are multiple images in your cursor, you can switch between them in the upper left part of the windows. When I am talking about a window, I mean the window of the editor. It has only one.

user icon Anonymous on February 1st

how do you create the eclipse around the mouse
:-o

user icon Striker_AC registered user on March 5th

I created my new cursor (a teal circle around my normal white cursor) and it works great but I'd like to edit the circle--re-size and re-position. I have the pointer and circle on separate layers with the pointer layer on top. How do I select the circle so I can change its dimensions?

user icon Vlasta site administrator on March 5th

the cursor editor does not support vector layers, so your best bet is to delete the layer with the circle and create a new one with a new circle

user icon Anonymous
What about ICL files?
Select background