ScreenData

Logo

A Data Model structure for displaying UI Screens

View the Project on GitHub ServerDriven/ScreenData

Style

Style {
	isHidden: Bool
	cornerRadius: Int
	
	backgroundColor: Color?
	foregroundColor: Color?
	
	width: Int?
	height: Int?
	
	padding: Int
}

JSON Example

{
	"isHidden": false,
	"height": 320,
	"cornerRadius": 0,
	"padding": 0,
	"backgroundColor": {
		"red": 0.8,
		"alpha": 1,
		"blue": 0.8,
		"green": 0.8
    },
}