Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | draw.ID.ellipse SEARCH    

  Functions
draw.ID.brushFrom.ID
draw.ID.copyFrom.ID
draw.ID.copyMode
draw.ID.ellipse
draw.ID.getPixel
draw.ID.height
draw.ID.isEgual.ID
draw.ID.line
draw.ID.load
draw.ID.paint
draw.ID.pixelFormat
draw.ID.polygon
draw.ID.rect
draw.ID.rotate.sourceID
draw.ID.save
draw.ID.setPixel
draw.ID.size
draw.ID.text.ex
draw.ID.text.ex.getWidth
draw.ID.width
draw.isEgual.X
draw.isEgual.Y
draw.mem.create
draw.mem.createFromFile
draw.mem.delete
draw.mem.exists
draw.mx.deform
draw.mx.effects

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
draw.ID.ellipse

Language: MioScript
Product: MioFactory


Syntax

draw.ID.ellipse(X, Y, Width, Height, Color, BorderWeight, Alpha)


Parameters

INTX, YLeft and top position of the source image.
0 if not specified.
INTWidth, HeightSize of the ellipse.
If Width = Height, the ellipse is a circle.
COLORColorDrawing color.
INTBorderWeightOptional.
Size of the border in pixel.
Default value is 1.
INTAlphaOptional.
Alpha (0-100) where 0 is transparent and 100 is opaque.
Default is 100.


Return value

No value is returned.


Description

Draw an ellipse on the specified bitmap.

Notice
The process of drawing a transparent ellipse is slow, so do not use the alpha parameter if performance is important.




MioScript Sample Code

draw.main.ellipse(
    0,0,
    200,200,
    num.rgb(0,100,255),
    4,
)

draw.main.paint()