Class Shadow
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.
Implements
Inherited Members
Namespace: Google.Apis.Slides.v1.Data
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class Shadow : IDirectResponseSchema
Properties
Alignment
The alignment point of the shadow, that sets the origin for translate, scale and skew of the shadow. This property is read-only.
Declaration
[JsonProperty("alignment")]
public virtual string Alignment { get; set; }
Property Value
Type | Description |
---|---|
string |
Alpha
The alpha of the shadow's color, from 0.0 to 1.0.
Declaration
[JsonProperty("alpha")]
public virtual float? Alpha { get; set; }
Property Value
Type | Description |
---|---|
float? |
BlurRadius
The radius of the shadow blur. The larger the radius, the more diffuse the shadow becomes.
Declaration
[JsonProperty("blurRadius")]
public virtual Dimension BlurRadius { get; set; }
Property Value
Type | Description |
---|---|
Dimension |
Color
The shadow color value.
Declaration
[JsonProperty("color")]
public virtual OpaqueColor Color { get; set; }
Property Value
Type | Description |
---|---|
OpaqueColor |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
PropertyState
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.
Declaration
[JsonProperty("propertyState")]
public virtual string PropertyState { get; set; }
Property Value
Type | Description |
---|---|
string |
RotateWithShape
Whether the shadow should rotate with the shape. This property is read-only.
Declaration
[JsonProperty("rotateWithShape")]
public virtual bool? RotateWithShape { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Transform
Transform that encodes the translate, scale, and skew of the shadow, relative to the alignment position.
Declaration
[JsonProperty("transform")]
public virtual AffineTransform Transform { get; set; }
Property Value
Type | Description |
---|---|
AffineTransform |
Type
The type of the shadow. This property is read-only.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |