/*
* Ellipse2D type
* This data type describes an ellipse with a color; x/y represents the coordinates of the ellipse's centrepoint and width/height represent its size.
*/
uses Color
/* {"description" : "This data type is used to describe an ellipse that can be drawn to the screen."} */
data Ellipse2D{
/* {"@description" : "The x-coordinate of the ellipse's centrepoint."} */
int x
/* {"@description" : "The y-coordinate of the ellipse's centrepoint."} */
int y
/* {"@description" : "The radius of the ellipse in the x-dimension."} */
int xRadius
/* {"@description" : "The radius of the ellipse in the y-dimension."} */
int yRadius
/* {"@description" : "The color of the ellipse."} */
Color color
}To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n ui.Ellipse2D -m "reason for update" -u yourUsername
Version 2 (this version) by barry
Notes for this version: Updates documentation strings.