Class ShapeProperties
The properties of a Shape. If the shape is a placeholder shape as determined by the placeholder field, then these properties may be inherited from a parent placeholder shape. Determining the rendered value of the property depends on the corresponding property_state field value. Any text autofit settings on the shape are automatically deactivated by requests that can impact how text fits in the shape.
Implements
Inherited Members
Namespace: Google.Apis.Slides.v1.Data
Assembly: Google.Apis.Slides.v1.dll
Syntax
public class ShapeProperties : IDirectResponseSchema
Properties
Autofit
The autofit properties of the shape. This property is only set for shapes that allow text.
Declaration
[JsonProperty("autofit")]
public virtual Autofit Autofit { get; set; }
Property Value
Type | Description |
---|---|
Autofit |
ContentAlignment
The alignment of the content in the shape. If unspecified, the alignment is inherited from a parent placeholder if it exists. If the shape has no parent, the default alignment matches the alignment for new shapes created in the Slides editor.
Declaration
[JsonProperty("contentAlignment")]
public virtual string ContentAlignment { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Link
The hyperlink destination of the shape. If unset, there is no link. Links are not inherited from parent placeholders.
Declaration
[JsonProperty("link")]
public virtual Link Link { get; set; }
Property Value
Type | Description |
---|---|
Link |
Outline
The outline of the shape. If unset, the outline is inherited from a parent placeholder if it exists. If the shape has no parent, then the default outline depends on the shape type, matching the defaults for new shapes created in the Slides editor.
Declaration
[JsonProperty("outline")]
public virtual Outline Outline { get; set; }
Property Value
Type | Description |
---|---|
Outline |
Shadow
The shadow properties of the shape. If unset, the shadow is inherited from a parent placeholder if it exists. If the shape has no parent, then the default shadow matches the defaults for new shapes created in the Slides editor. This property is read-only.
Declaration
[JsonProperty("shadow")]
public virtual Shadow Shadow { get; set; }
Property Value
Type | Description |
---|---|
Shadow |
ShapeBackgroundFill
The background fill of the shape. If unset, the background fill is inherited from a parent placeholder if it exists. If the shape has no parent, then the default background fill depends on the shape type, matching the defaults for new shapes created in the Slides editor.
Declaration
[JsonProperty("shapeBackgroundFill")]
public virtual ShapeBackgroundFill ShapeBackgroundFill { get; set; }
Property Value
Type | Description |
---|---|
ShapeBackgroundFill |