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.



143
144
145
146
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 143

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.).



143
144
145
146
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 143

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