Document AI V1 API - Class Google::Cloud::DocumentAI::V1::Document::Style::FontSize (v0.16.2)

Reference documentation and code samples for the Document AI V1 API class Google::Cloud::DocumentAI::V1::Document::Style::FontSize.

Font size with unit.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#size

def size() -> ::Float
Returns
  • (::Float) — Font size for the text.

#size=

def size=(value) -> ::Float
Parameter
  • value (::Float) — Font size for the text.
Returns
  • (::Float) — Font size for the text.

#unit

def unit() -> ::String
Returns
  • (::String) — Unit for the font size. Follows CSS naming (such as in, px, and pt).

#unit=

def unit=(value) -> ::String
Parameter
  • value (::String) — 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).