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 8th

how do you make the arrow darker when yellow circle around it?? :-(

user icon Anonymous on November 14th

I have no clue where the color is someone help me :-(

user icon Vlasta site administrator on November 14th

If you are using the ellipse tool, look in the right column. There should actually be 2 color pickers, one for outline and one for interior fill. The fill can be switched to gradient or patterns, so make sure to switch it back to solid fill if that is what you want.

user icon Anonymous on November 26th

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

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

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

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

user icon Vlasta site administrator on December 16th

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

What window?

user icon Vlasta site administrator on December 16th

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
Select background
I wish there were...