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 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 2015

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

user icon Striker_AC registered user on March 5th 2015

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 2015

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 on August 23rd 2015

how do I unshade the yellow its to bright

user icon Anonymous on November 26th 2015

i cannot find a layer.....please help me

never mind i've found it

user icon Anonymous on January 23rd

What I would like to do is use a big circle as my text select cursor. I have seen people using this in YouTube videos to kind of focus attention on the text they are referring to and things like that. Theirs are about as big around as the height of say 3 or 4 lines of text in a webpage or document or whatever. I tried making one and it is about as big around as one line width. How would I make this big circle cursor? Thanks

user icon Anonymous on January 23rd

I made the above post, sorry I meant one line height.

user icon Vlasta site administrator on January 23rd

You cannot make that big cursors. Some screen recording programs can add that big circle to the video, but it is not the actual cursor, it is just a video enhancement.

user icon Anonymous on January 23rd

how do you make a color around the cursor and so when you save it you don't get a regular cursor :-(tell me that is wrong is it my laptop just please let me know

user icon Anonymous
What about ICL files?
Vista & Win 7 icons