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
, andpt
).
#unit=
def unit=(value) -> ::String
Parameter
-
value (::String) — Unit for the font size. Follows CSS naming (such as
in
,px
, andpt
).
Returns
-
(::String) — Unit for the font size. Follows CSS naming (such as
in
,px
, andpt
).