class Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentStyleFontSize
Font size with unit.
Attributes
size[RW]
Font size for the text. Corresponds to the JSON property `size` @return [Float]
unit[RW]
Unit for the font size. Follows CSS naming (in, px, pt, etc.). Corresponds to the JSON property `unit` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/documentai_v1beta3/classes.rb, line 4196 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/documentai_v1beta3/classes.rb, line 4201 def update!(**args) @size = args[:size] if args.key?(:size) @unit = args[:unit] if args.key?(:unit) end