GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoResponse

data class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoResponse(val backgroundColor: GoogleTypeColorResponse, val bold: Boolean, val fontSize: Int, val fontType: String, val fontWeight: Int, val handwritten: Boolean, val italic: Boolean, val letterSpacing: Double, val pixelFontSize: Double, val smallcaps: Boolean, val strikeout: Boolean, val subscript: Boolean, val superscript: Boolean, val textColor: GoogleTypeColorResponse, val underlined: Boolean)

Font and other text style attributes.

Constructors

fun GoogleCloudDocumentaiV1DocumentPageTokenStyleInfoResponse(backgroundColor: GoogleTypeColorResponse, bold: Boolean, fontSize: Int, fontType: String, fontWeight: Int, handwritten: Boolean, italic: Boolean, letterSpacing: Double, pixelFontSize: Double, smallcaps: Boolean, strikeout: Boolean, subscript: Boolean, superscript: Boolean, textColor: GoogleTypeColorResponse, underlined: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Color of the background.

Link copied to clipboard

Whether the text is bold (equivalent to font_weight is at least 700).

Link copied to clipboard

Font size in points (1 point is ¹⁄₇₂ inches).

Link copied to clipboard

Name or style of the font.

Link copied to clipboard

TrueType weight on a scale 100 (thin) to 1000 (ultra-heavy). Normal is 400, bold is 700.

Link copied to clipboard

Whether the text is handwritten.

Link copied to clipboard

Whether the text is italic.

Link copied to clipboard

Letter spacing in points.

Link copied to clipboard

Font size in pixels, equal to unrounded font_size * resolution ÷ 72.0.

Link copied to clipboard

Whether the text is in small caps.

Link copied to clipboard

Whether the text is strikethrough.

Link copied to clipboard

Whether the text is a subscript.

Link copied to clipboard

Whether the text is a superscript.

Link copied to clipboard

Color of the text.

Link copied to clipboard

Whether the text is underlined.