class PageBuilder(width: Double, height: Double, tileColor: Color, title: String, image: ImageView) { var width by property(width) fun widthProperty() = getProperty(PageBuilder::width) var height by property(height) fun heightProperty() = getProperty(PageBuilder::height) var tileColor by property(tileColor) fun tileColorProperty() = getProperty(PageBuilder::tileColor) var title by property(title) fun titleProperty() = getProperty(PageBuilder::title) var image by property(image) fun imageProperty() = getProperty(PageBuilder::image) }