GoogleCloudDocumentaiV1DocumentStyle class
Annotation for common text style attributes. This adheres to CSS conventions as much as possible.
Constructors
-
GoogleCloudDocumentaiV1DocumentStyle({Input<
GoogleTypeColor> ? backgroundColor, Input<GoogleTypeColor> ? color, Input<String> ? fontFamily, Input<GoogleCloudDocumentaiV1DocumentStyleFontSize> ? fontSize, Input<String> ? fontWeight, Input<GoogleCloudDocumentaiV1DocumentTextAnchor> ? textAnchor, Input<String> ? textDecoration, Input<String> ? textStyle}) -
Creates a new GoogleCloudDocumentaiV1DocumentStyle.
backgroundColorText background color.colorText color.fontFamilyFont family such asArial,Times New Roman. https://www.w3schools.com/cssref/pr_font_font-family.aspfontSizeFont size. fontWeight Font weight. Possible values arenormal,bold,bolder, andlighter.textAnchorText anchor indexing into the Document.text. textDecoration Text decoration. Follows CSS standard. textStyle Text style. Possible values arenormal,italic, andoblique.const -
GoogleCloudDocumentaiV1DocumentStyle.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
backgroundColor
→ Input<
GoogleTypeColor> ? -
Text background color.
final
-
color
→ Input<
GoogleTypeColor> ? -
Text color.
final
-
fontFamily
→ Input<
String> ? -
Font family such as
Arial,Times New Roman. https://www.w3schools.com/cssref/pr_font_font-family.aspfinal -
fontSize
→ Input<
GoogleCloudDocumentaiV1DocumentStyleFontSize> ? -
Font size.
final
-
fontWeight
→ Input<
String> ? -
Font weight. Possible values are
normal,bold,bolder, andlighter.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
textAnchor
→ Input<
GoogleCloudDocumentaiV1DocumentTextAnchor> ? -
Text anchor indexing into the Document.text.
final
-
textDecoration
→ Input<
String> ? -
Text decoration. Follows CSS standard.
final
-
textStyle
→ Input<
String> ? -
Text style. Possible values are
normal,italic, andoblique.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited