ShapePropertyCollection
ShapePropertyCollection class
This class specifies the visual shape properties for a chart element or shape.
class ShapePropertyCollection;
Properties
| Property | Type | Description |
|---|---|---|
| glowEffect | GlowEffect | Readonly. Represents a GlowEffect object that specifies glow effect for the chart element or shape. |
| format3D | Format3D | Readonly. Represents a Format3D object that specifies 3D shape properties for the chart element or shape. |
| softEdgeRadius | number | Gets and sets the radius of blur to apply to the edges, in unit of points. |
| shadowEffect | ShadowEffect | Readonly. Represents a ShadowEffect object that specifies shadow effect for the chart element or shape. |
Methods
| Method | Description |
|---|---|
| getGlowEffect() | @deprecated. Please use the ‘glowEffect’ property instead. Represents a GlowEffect object that specifies glow effect for the chart element or shape. |
| getFormat3D() | @deprecated. Please use the ‘format3D’ property instead. Represents a Format3D object that specifies 3D shape properties for the chart element or shape. |
| getSoftEdgeRadius() | @deprecated. Please use the ‘softEdgeRadius’ property instead. Gets and sets the radius of blur to apply to the edges, in unit of points. |
| setSoftEdgeRadius(number) | @deprecated. Please use the ‘softEdgeRadius’ property instead. Gets and sets the radius of blur to apply to the edges, in unit of points. |
| getShadowEffect() | @deprecated. Please use the ‘shadowEffect’ property instead. Represents a ShadowEffect object that specifies shadow effect for the chart element or shape. |
| clearGlowEffect() | Clears the glow effect of the shape. |
| hasGlowEffect() | Indicates if the shape has glow effect data. |
| hasFormat3D() | Indicates if the shape has 3d format data. |
| clearFormat3D() | Clears the 3D shape properties of the shape. |
| clearShadowEffect() | Clears the shadow effect of the chart element or shape. |
| hasShadowEffect() | Indicates if the shape has shadow effect data. |
| isNull() | Checks whether the implementation object is null. |
glowEffect
Readonly. Represents a GlowEffect object that specifies glow effect for the chart element or shape.
glowEffect : GlowEffect;
format3D
Readonly. Represents a Format3D object that specifies 3D shape properties for the chart element or shape.
format3D : Format3D;
softEdgeRadius
Gets and sets the radius of blur to apply to the edges, in unit of points.
softEdgeRadius : number;
shadowEffect
Readonly. Represents a ShadowEffect object that specifies shadow effect for the chart element or shape.
shadowEffect : ShadowEffect;
getGlowEffect()
@deprecated. Please use the ‘glowEffect’ property instead. Represents a GlowEffect object that specifies glow effect for the chart element or shape.
getGlowEffect() : GlowEffect;
Returns
getFormat3D()
@deprecated. Please use the ‘format3D’ property instead. Represents a Format3D object that specifies 3D shape properties for the chart element or shape.
getFormat3D() : Format3D;
Returns
getSoftEdgeRadius()
@deprecated. Please use the ‘softEdgeRadius’ property instead. Gets and sets the radius of blur to apply to the edges, in unit of points.
getSoftEdgeRadius() : number;
setSoftEdgeRadius(number)
@deprecated. Please use the ‘softEdgeRadius’ property instead. Gets and sets the radius of blur to apply to the edges, in unit of points.
setSoftEdgeRadius(value: number) : void;
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | number | The value to set. |
getShadowEffect()
@deprecated. Please use the ‘shadowEffect’ property instead. Represents a ShadowEffect object that specifies shadow effect for the chart element or shape.
getShadowEffect() : ShadowEffect;
Returns
clearGlowEffect()
Clears the glow effect of the shape.
clearGlowEffect() : void;
hasGlowEffect()
Indicates if the shape has glow effect data.
hasGlowEffect() : boolean;
hasFormat3D()
Indicates if the shape has 3d format data.
hasFormat3D() : boolean;
clearFormat3D()
Clears the 3D shape properties of the shape.
clearFormat3D() : void;
clearShadowEffect()
Clears the shadow effect of the chart element or shape.
clearShadowEffect() : void;
hasShadowEffect()
Indicates if the shape has shadow effect data.
hasShadowEffect() : boolean;
isNull()
Checks whether the implementation object is null.
isNull() : boolean;