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.



147
148
149
150
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 147

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

#unit::String

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

Returns:

  • (::String)

    Unit for the font size. Follows CSS naming (such as in, px, and pt).



147
148
149
150
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 147

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