Scanbot Typography
class ScanbotTypography
Constructors
Link copied to clipboard
constructor(defaultFontFamily: <Error class: unknown class> = FontFamily.SansSerif, h1: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.Normal,
fontSize = 22.sp,
lineHeight = 24.sp,
), h2: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.Normal,
fontSize = 20.sp,
lineHeight = 24.sp,
), h3: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.Medium,
fontSize = 18.sp,
lineHeight = 24.sp,
), subtitle1: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.SemiBold,
fontSize = 16.sp,
lineHeight = 24.sp,
), subtitle2: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.Medium,
fontSize = 16.sp,
lineHeight = 24.sp,
), subtitle3: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.Normal,
fontSize = 16.sp,
lineHeight = 24.sp,
), body1: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.Medium,
fontSize = 14.sp,
lineHeight = 16.sp,
), body2: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.Normal,
fontSize = 14.sp,
lineHeight = 16.sp,
), caption1: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.Medium,
fontSize = 12.sp,
lineHeight = 16.sp,
), caption2: <Error class: unknown class> = TextStyle(
fontWeight = FontWeight.Normal,
fontSize = 12.sp,
lineHeight = 16.sp,
))
Functions
Link copied to clipboard
fun copy(h1: <Error class: unknown class> = this.h1, h2: <Error class: unknown class> = this.h2, h3: <Error class: unknown class> = this.h3, subtitle1: <Error class: unknown class> = this.subtitle1, subtitle2: <Error class: unknown class> = this.subtitle2, subtitle3: <Error class: unknown class> = this.subtitle3, body1: <Error class: unknown class> = this.body1, body2: <Error class: unknown class> = this.body2, caption1: <Error class: unknown class> = this.caption1, caption2: <Error class: unknown class> = this.caption2): ScanbotTypography