GoogleApi.ContentWarehouse.V1.Model.GoodocFontSizeStats
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
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):
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
)
-
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
}
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