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

Next id: 54 Font and text decorations:

Attributes

  • marginTop (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) - Margin
  • marginLeft (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) -
  • listStyleType (type: String.t, default: nil) -
  • referencedResourceIndex (type: list(integer()), default: nil) - List of referenced resource indexes for any resources that this style references. (e.g. background images.) (see document.proto)
  • borderPixelWidthLeft (type: integer(), default: nil) -
  • display (type: String.t, default: nil) -
  • borderPixelWidthBottom (type: integer(), default: nil) -
  • textAlign (type: String.t, default: nil) -
  • fontSize (type: integer(), default: nil) -
  • borderColorArgbTop (type: integer(), default: nil) -
  • backgroundImageYPos (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) -
  • fontFamily (type: String.t, default: nil) - font_family is the font-family computed style, not necessarily the actual font. https://developer.mozilla.org/en-US/docs/Web/CSS/font-family. Note that it may contain multiple font families, not just one.
  • overflowX (type: String.t, default: nil) -
  • borderColorArgbLeft (type: integer(), default: nil) -
  • textShadowColorArgb (type: integer(), default: nil) -
  • backgroundGradientRepeat (type: boolean(), default: nil) -
  • foregroundColorArgb (type: integer(), default: nil) - Foreground color encoded as ARGB
  • borderPixelWidthRight (type: integer(), default: nil) -
  • position (type: String.t, default: nil) -
  • borderStyleLeft (type: String.t, default: nil) -
  • borderPixelWidthTop (type: integer(), default: nil) -
  • backgroundSize (type: String.t, default: nil) -
  • backgroundImageUrl (type: String.t, default: nil) - The url of the background image in the first layer.
  • clip (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRectangle.t, default: nil) - Default value for clip is "auto", which is represented here as !has_clip().
  • fontWeight (type: integer(), default: nil) -
  • backgroundGradientColorStopArgb (type: list(integer()), default: nil) -
  • backgroundSizeWidth (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) - Only present (but may be missing) if background_size == SIZE_LENGTH.
  • paddingTop (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) - Padding
  • visibility (type: String.t, default: nil) -
  • textDecoration (type: String.t, default: nil) -
  • marginBottom (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) -
  • marginRight (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) -
  • borderStyleRight (type: String.t, default: nil) -
  • backgroundAttachment (type: String.t, default: nil) -
  • overflowY (type: String.t, default: nil) -
  • direction (type: String.t, default: nil) -
  • borderStyleBottom (type: String.t, default: nil) -
  • borderColorArgbBottom (type: integer(), default: nil) -
  • paddingLeft (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) -
  • hasBackground (type: boolean(), default: nil) - Starting from Chromium, has_background is set when there is a non-empty specification for background_image, whether it be a url, gradient or other cases, such as cross-fade. Besides setting this field, We additionally parse url and gradient cases and populate some of the following background fields.
  • backgroundImageXPos (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) - Background image position (x, y).
  • borderStyleTop (type: String.t, default: nil) -
  • backgroundSizeHeight (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) -
  • backgroundColorArgb (type: integer(), default: nil) - Background color encoded as ARGB
  • paddingRight (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) -
  • borderColorArgbRight (type: integer(), default: nil) -
  • listStyleImageUrl (type: String.t, default: nil) -
  • backgroundGradientType (type: String.t, default: nil) -
  • backgroundImageRepeat (type: String.t, default: nil) -
  • opacity (type: number(), default: nil) -
  • fontStyle (type: String.t, default: nil) -
  • paddingBottom (type: GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t, default: nil) -
  • zIndex (type: integer(), default: nil) - Default value for z-index is "auto" which means "inherit from parent".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoStyle{
  backgroundAttachment: String.t() | nil,
  backgroundColorArgb: integer() | nil,
  backgroundGradientColorStopArgb: [integer()] | nil,
  backgroundGradientRepeat: boolean() | nil,
  backgroundGradientType: String.t() | nil,
  backgroundImageRepeat: String.t() | nil,
  backgroundImageUrl: String.t() | nil,
  backgroundImageXPos:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  backgroundImageYPos:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  backgroundSize: String.t() | nil,
  backgroundSizeHeight:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  backgroundSizeWidth:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  borderColorArgbBottom: integer() | nil,
  borderColorArgbLeft: integer() | nil,
  borderColorArgbRight: integer() | nil,
  borderColorArgbTop: integer() | nil,
  borderPixelWidthBottom: integer() | nil,
  borderPixelWidthLeft: integer() | nil,
  borderPixelWidthRight: integer() | nil,
  borderPixelWidthTop: integer() | nil,
  borderStyleBottom: String.t() | nil,
  borderStyleLeft: String.t() | nil,
  borderStyleRight: String.t() | nil,
  borderStyleTop: String.t() | nil,
  clip:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoRectangle.t()
    | nil,
  direction: String.t() | nil,
  display: String.t() | nil,
  fontFamily: String.t() | nil,
  fontSize: integer() | nil,
  fontStyle: String.t() | nil,
  fontWeight: integer() | nil,
  foregroundColorArgb: integer() | nil,
  hasBackground: boolean() | nil,
  listStyleImageUrl: String.t() | nil,
  listStyleType: String.t() | nil,
  marginBottom:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  marginLeft:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  marginRight:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  marginTop:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  opacity: number() | nil,
  overflowX: String.t() | nil,
  overflowY: String.t() | nil,
  paddingBottom:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  paddingLeft:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  paddingRight:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  paddingTop:
    GoogleApi.ContentWarehouse.V1.Model.HtmlrenderWebkitHeadlessProtoOffset.t()
    | nil,
  position: String.t() | nil,
  referencedResourceIndex: [integer()] | nil,
  textAlign: String.t() | nil,
  textDecoration: String.t() | nil,
  textShadowColorArgb: integer() | nil,
  visibility: String.t() | nil,
  zIndex: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.