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

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