google_api_slides v0.1.0 GoogleApi.Slides.V1.Model.Shadow View Source
The shadow properties of a page element. If these fields are unset, they may be inherited from a parent placeholder if it exists. If there is no parent, the fields will default to the value used for new page elements created in the Slides editor, which may depend on the page element kind.
Attributes
alignment (String.t): The alignment point of the shadow, that sets the origin for translate, scale and skew of the shadow. Defaults to:
null
.- Enum - one of [RECTANGLE_POSITION_UNSPECIFIED, TOP_LEFT, TOP_CENTER, TOP_RIGHT, LEFT_CENTER, CENTER, RIGHT_CENTER, BOTTOM_LEFT, BOTTOM_CENTER, BOTTOM_RIGHT]
- alpha (float()): The alpha of the shadow's color, from 0.0 to 1.0. Defaults to:
null
. - blurRadius (Dimension): The radius of the shadow blur. The larger the radius, the more diffuse the shadow becomes. Defaults to:
null
. - color (OpaqueColor): The shadow color value. Defaults to:
null
. propertyState (String.t): The shadow property state. Updating the shadow on a page element will implicitly update this field to `RENDERED`, unless another value is specified in the same request. To have no shadow on a page element, set this field to `NOT_RENDERED`. In this case, any other shadow fields set in the same request will be ignored. Defaults to:
null
.- Enum - one of [RENDERED, NOT_RENDERED, INHERIT]
- rotateWithShape (boolean()): Whether the shadow should rotate with the shape. Defaults to:
null
. - transform (AffineTransform): Transform that encodes the translate, scale, and skew of the shadow, relative to the alignment position. Defaults to:
null
. type (String.t): The type of the shadow. Defaults to:
null
.- Enum - one of [SHADOW_TYPE_UNSPECIFIED, OUTER]
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields
Link to this section Types
t() :: %GoogleApi.Slides.V1.Model.Shadow{ alignment: any(), alpha: any(), blurRadius: GoogleApi.Slides.V1.Model.Dimension.t(), color: GoogleApi.Slides.V1.Model.OpaqueColor.t(), propertyState: any(), rotateWithShape: any(), transform: GoogleApi.Slides.V1.Model.AffineTransform.t(), type: any() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.