Document AI V1beta3 API - Class Google::Cloud::DocumentAI::V1beta3::Document::Style::FontSize (v0.31.0)

Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::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).