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

/* {"description" : "This data type is used to describe a polygon that can be drawn to the screen."} */
data Polygon2D {
	/* {"@description" : "An array of points representing the perimeter of the polygon."} */
	Point points[]
	/* {"@description" : "The color of the polygon."} */
	Color color
	}
Revision history
To propose a new revision to this entity, use dana source put -ut your/new/version.dn -n ui.Polygon2D -m "reason for update" -u yourUsername
Version 2 (this version) by barry
Notes for this version: Updates documentation strings.
Version 1 by barry