HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file ui.Polygon2D by barry
expand copy to clipboardexpand
/*
* Polygon2D type
* This data type describes a rectangle with a color; x/y typically represents the coordinates of the top left corner and width/height represent its size.
*/

uses Color
uses Point

data Polygon2D{
	Point points[]
	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 by barry
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation