AddEllipse

Modified in version 4.0

AddEllipse ( left ;​ top ;​ width ;​ height ;​ lineStroke ;​ lineColor ;​ lineColorVariant ;​ shadowEffect ;​ shadowColor )

Argument Type Range Default Note
left num -inf..+inf (required)
top num -inf..+inf (required)
width num 0..inf (required)
height num 0..inf (required)
lineStroke num[] 0..1000 1 Dimension:[pt]
lineColor rgba 0..255 black
lineColorVariant int -1..128 solid
shadowEffect num[] -1000..1000 0
shadowColor rgba 0..255 #888a
Examples

AddEllipse(150;​20;​150;​150)

AddEllipse(150;​20;​150;​150;​3;​blue)

Description

The AddEllipse() function makes it possible to create oval frames whose stroke (thickness, dash pattern), color and shadow can be varied.

ADD_ELLIPSE_01
1

OpenDrawing(100;​100)

2

AddEllipse(10;​10;​80;​80;​6;​steelBlue)

3

CloseDrawing()

ADD_ELLIPSE_01
ADD_ELLIPSE_02
1

OpenDrawing(100;​100)

2

AddEllipse(10;​10;​80;​80;​10;​steelBlue;​shaded;​0 0 5;​gray)

3

CloseDrawing()

ADD_ELLIPSE_02
ADD_ELLIPSE_03
1

OpenDrawing(200;​100)

2

AddEllipse(10;​10;​180;​80;​3 2 1.8;​steelBlue)

3

CloseDrawing()

ADD_ELLIPSE_03
ADD_ELLIPSE_04
1

OpenDrawing(200;​100)

2

AddEllipse(10;​10;​180;​80;​2;​steelBlue;​;​0 0 2;​gray)

3

AddEllipse(16;​16;​168;​68;​1;​steelBlue)

4

AddEllipse(21;​21;​158;​58;​2;​steelBlue;​;​0 0 2;​gray)

5

CloseDrawing()

ADD_ELLIPSE_04
Scroll to Top
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×