HomeForumSourceResearchGuide
Sign in to contribute to source. how it works
Type definition file ui.Rect2D by barry
expand copy to clipboardexpand
/*
* Rect2D 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

data Rect2D{
	int x
	int y
	int width
	int height
	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 by barry
Version 1 (this version) by barry
Notes for this version: Standard Library Initialisation