Class: Google::Cloud::DocumentAI::V1beta3::Document::Style::FontSize

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/document.rb

Overview

Font size with unit.

Instance Attribute Summary collapse

Instance Attribute Details

#size::Float

Returns Font size for the text.

Returns:

  • (::Float)

    Font size for the text.



137
138
139
140
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 137

class FontSize
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#unit::String

Returns Unit for the font size. Follows CSS naming (in, px, pt, etc.).

Returns:

  • (::String)

    Unit for the font size. Follows CSS naming (in, px, pt, etc.).



137
138
139
140
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 137

class FontSize
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end