HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file ui.Rect2D by barry
expand copy to clipboardexpand
uses Color

/* {"description" : "This data type is used to describe a rectangle that can be drawn to the screen."} */
data Rect2D{
	/* {"@description" : "The x-coordinate of the top-left corner of the rectangle."} */
	int x
	/* {"@description" : "The y-coordinate of the top-left corner of the rectangle."} */
	int y
	/* {"@description" : "The width of the rectangle."} */
	int width
	/* {"@description" : "The height of the rectangle."} */
	int height
	/* {"@description" : "The color of the rectangle."} */
	Color color
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n ui.Rect2D -m "reason for update" -u yourUsername
Version 2 (this version) by barry
Notes for this version: Updates documentation strings.
Version 1 by barry