View Source GoogleApi.ContentWarehouse.V1.Model.GoodocFontSizeStats (google_api_content_warehouse v0.4.0)

Statistics about a particular font size (from CharLabel.FontSize) aggregated over a range of symbols

Attributes

  • fontId (type: integer(), default: nil) - CharLabel.FontId and FontSize
  • fontSize (type: integer(), default: nil) -
  • medianHeight (type: integer(), default: nil) - The measurements are in pixels
  • medianLineHeight (type: integer(), default: nil) - top to bottom
  • medianLineSpace (type: integer(), default: nil) - bottom to next top in para
  • medianLineSpan (type: integer(), default: nil) - top to next top in para
  • medianWidth (type: integer(), default: nil) -
  • numLineSpaces (type: integer(), default: nil) - Lines (out of num_lines) that have a successor line within their para
  • numLines (type: integer(), default: nil) - Line stats for this font. "top" corresponds to the highest ascender and "bottom" to the lowest descender. num_lines = # lines with > 50% symbols having this font
  • numSymbols (type: integer(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocFontSizeStats{
  fontId: integer() | nil,
  fontSize: integer() | nil,
  medianHeight: integer() | nil,
  medianLineHeight: integer() | nil,
  medianLineSpace: integer() | nil,
  medianLineSpan: integer() | nil,
  medianWidth: integer() | nil,
  numLineSpaces: integer() | nil,
  numLines: integer() | nil,
  numSymbols: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.