GoodocFontSizeStats

GoogleApi.ContentWarehouse.V1.Model.GoodocFontSizeStats


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. fontId (type: integer(), default: nil)
    - CharLabel.FontId and FontSize
  2. fontSize (type: integer(), default: nil)
    -
  3. medianHeight (type: integer(), default: nil)
    - The measurements are in pixels
  4. medianLineHeight (type: integer(), default: nil)
    - top to bottom
  5. medianLineSpace (type: integer(), default: nil)
    - bottom to next top in para
  6. medianLineSpan (type: integer(), default: nil)
    - top to next top in para
  7. medianWidth (type: integer(), default: nil)
    -
  8. numLineSpaces (type: integer(), default: nil)
    - Lines (out of num_lines) that have a successor line within their para
  9. 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
  10. numSymbols (type: integer(), default: nil)
    -

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocFontSizeStats