GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo class
Font and other text style attributes.
Constructors
- GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo({GoogleTypeColor? backgroundColor, bool? bold, int? fontSize, String? fontType, int? fontWeight, bool? handwritten, bool? italic, double? letterSpacing, double? pixelFontSize, bool? smallcaps, bool? strikeout, bool? subscript, bool? superscript, GoogleTypeColor? textColor, bool? underlined})
- GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo.fromJson(Map json_)
Properties
- backgroundColor ↔ GoogleTypeColor?
-
Color of the background.
getter/setter pair
- bold ↔ bool?
-
Whether the text is bold (equivalent to font_weight is at least
700
).getter/setter pair - fontSize ↔ int?
-
Font size in points (
1
point is¹⁄₇₂
inches).getter/setter pair - fontType ↔ String?
-
Name or style of the font.
getter/setter pair
- fontWeight ↔ int?
-
TrueType weight on a scale
100
(thin) to1000
(ultra-heavy).getter/setter pair - handwritten ↔ bool?
-
Whether the text is handwritten.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- italic ↔ bool?
-
Whether the text is italic.
getter/setter pair
- letterSpacing ↔ double?
-
Letter spacing in points.
getter/setter pair
- pixelFontSize ↔ double?
-
Font size in pixels, equal to unrounded font_size * resolution ÷
72.0
.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smallcaps ↔ bool?
-
Whether the text is in small caps.
getter/setter pair
- strikeout ↔ bool?
-
Whether the text is strikethrough.
getter/setter pair
- subscript ↔ bool?
-
Whether the text is a subscript.
getter/setter pair
- superscript ↔ bool?
-
Whether the text is a superscript.
getter/setter pair
- textColor ↔ GoogleTypeColor?
-
Color of the text.
getter/setter pair
- underlined ↔ bool?
-
Whether the text is underlined.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited