GoodocBoxPartitions

GoogleApi.ContentWarehouse.V1.Model.GoodocBoxPartitions


Table of Contents ▼

Jump to a specific part of the page:

Description

A way to specify a simple partitioning of a BoundingBox into a sequence of sub-boxes. +----------------------------------------------------+ | | | | | | | span(0) | (1) | (2) | (3) | (4) | | | | | | | +----------------------------------------------------+ This representation can, for example, be used to store coarse Symbol boundaries within a Word (see Word.CompactSymbolBoxes below) instead of per-Symbol BoundingBoxes, for saving space.

Attributes List

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

View Attributes

Attributes

  1. direction (type: integer(), default: nil)
    -
  2. span (type: list(integer()), default: nil)
    - "span" is width or height, determined by "direction". If there are k partitions, then there are k - 1 "span" values, one for each except the last symbol (which is redundant).

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocBoxPartitions{
direction: integer() | nil,
span: [integer()] | nil
}

Function

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

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