From e9cef238e85a2ee12cdd2100e002c815707d5ff2 Mon Sep 17 00:00:00 2001 From: John Carlson Date: Mon, 21 Feb 2022 03:22:35 -0600 Subject: [PATCH] Fix link, remove constructor docs that are not viewable --- .../com/commit451/resourcespoet/FontFamily.kt | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/main/kotlin/com/commit451/resourcespoet/FontFamily.kt b/src/main/kotlin/com/commit451/resourcespoet/FontFamily.kt index 2cd3924..b9f14f5 100644 --- a/src/main/kotlin/com/commit451/resourcespoet/FontFamily.kt +++ b/src/main/kotlin/com/commit451/resourcespoet/FontFamily.kt @@ -2,13 +2,10 @@ package com.commit451.resourcespoet /** * Represents an Android Font - * See //developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml">https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml + * See [the Android docs](https://developer.android.com/guide/topics/ui/look-and-feel/fonts-in-xml) */ -data class FontFamily -/** - * Construct a Font family - * @param fontStyle the font style - * @param fontWeight the font weight value - * @param font reference to the font file - */ - (val fontStyle: String, val fontWeight: String, val font: String) +data class FontFamily( + val fontStyle: String, + val fontWeight: String, + val font: String +)