Name: | Ellipse |
Version: | 1.0 |
ID: | ID_ELLIPSE |
Status: | Unspecified |
Category: | GUI |
Date: | May 2001 |
Author: | Rocklyte Systems |
Copyright: | Rocklyte Systems (c) 2000-2001. All rights reserved. |
Short: | Draws elliptical and circular shapes. |
The Ellipse class is used to draw elliptical shapes and circles to graphics areas. All you need to specify are the dimensions of the ellipse and its colour. Here is a DML based example:
<ellipse x="10%" y="10%" width="80" height="60" colour="#6090a0"/>
If you want to draw an unfilled ellipse, set the Border field as opposed to the Colour. Beyond this, there is little else that you need to know about the Ellipse class - but check the field documentation if you need more detial.
The Ellipse object consists of the following public fields:
Border Set this field to define the colour of the elliptical border. Colour Set this field to define the colour of the Ellipse. ColourRGB Read this field to get the Ellipse colour in RGB format. Drawable This field can be set to define the drawable area for the Ellipse. Fill Set to TRUE to fill the ellipse. Height The height of the Ellipse is specified here. Thickness The thickness of the Ellipse border is managed by this field. Width The width of the Ellipse is specified here. XCoord Defines the horizontal position of the Ellipse. XOffset Defines the horizontal offset of the Ellipse. YCoord Defines the vertical position of the Ellipse. YOffset Defines the vertical offset of the Ellipse.
Field: | Colour | |
Short: | Set this field to define the colour of the Ellipse. | |
Type: | STRING | |
Status: | Write | |
|
Field: | ColourRGB | |
Short: | Read this field to get the Ellipse colour in RGB format. | |
Type: | RGB | |
Status: | Read | |
|
Field: | Drawable | |
Short: | This field can be set to define the drawable area for the Ellipse. | |
Type: | OBJECTID | |
Status: | Read/Write | |
|
Field: | Fill | |
Short: | Set to TRUE to fill the ellipse. | |
Type: | BOOLEAN | |
Status: | Read/Write | |
|
Field: | Height | |
Short: | The height of the Ellipse is specified here. | |
Type: | FLOAT/PERCENTAGE | |
Status: | Read/Write | |
|
Field: | Thickness | |
Short: | The thickness of the Ellipse border is managed by this field. | |
Type: | LONG | |
Status: | Write | |
|
Field: | Width | |
Short: | The width of the Ellipse is specified here. | |
Type: | FLOAT/PERCENTAGE | |
Status: | Read/Write | |
|
Field: | XCoord | |
Short: | Defines the horizontal position of the Ellipse. | |
Type: | FLOAT/PERCENTAGE | |
Status: | Read/Write | |
|
Field: | XOffset | |
Short: | Defines the horizontal offset of the Ellipse. | |
Type: | FLOAT/PERCENTAGE | |
Status: | Read/Write | |
|
Field: | YCoord | |
Short: | Defines the vertical position of the Ellipse. | |
Type: | FLOAT/PERCENTAGE | |
Status: | Read/Write | |
|
Field: | YOffset | |
Short: | Defines the vertical offset of the Ellipse. | |
Type: | FLOAT/PERCENTAGE | |
Status: | Read/Write | |
|