ShapeStyle
ShapeStyle class
Represent shape’s style reference.
getEffectColor
| Name | Description |
|---|
| getEffectColor() | Returns a shape’s effect color. Read-only IColorFormat. |
Returns:
ColorFormat
getEffectStyleIndex
| Name | Description |
|---|
| getEffectStyleIndex() | Returns or sets shape’s effect column index in a style matrix. Read/write long. |
Returns:
long
getFillColor
| Name | Description |
|---|
| getFillColor() | Returns a shape’s fill color. Read-only IColorFormat. |
Returns:
ColorFormat
getFillStyleIndex
| Name | Description |
|---|
| getFillStyleIndex() | Returns or sets shape’s fill column index in style matrices. 0 means no fill, positive value - index in theme’s fill styles, negative value - index in theme’s background styles. Read/write short. |
Returns:
short
getFontCollectionIndex
| Name | Description |
|---|
| getFontCollectionIndex() | Returns or sets shape’s font index in a font collection. Read/write FontCollectionIndex. |
Returns:
byte
getFontColor
| Name | Description |
|---|
| getFontColor() | Returns a shape’s font color. Read-only IColorFormat. |
Returns:
ColorFormat
getLineColor
| Name | Description |
|---|
| getLineColor() | Returns a shape’s outline color. Read-only IColorFormat. |
Returns:
ColorFormat
getLineStyleIndex
| Name | Description |
|---|
| getLineStyleIndex() | Returns or sets line’s column index in a style matrix. Read/write int. |
Returns:
int
setEffectStyleIndex
| Name | Description |
|---|
| setEffectStyleIndex(long) | Returns or sets shape’s effect column index in a style matrix. Read/write long. |
setFillStyleIndex
| Name | Description |
|---|
| setFillStyleIndex(short) | Returns or sets shape’s fill column index in style matrices. 0 means no fill, positive value - index in theme’s fill styles, negative value - index in theme’s background styles. Read/write short. |
setFontCollectionIndex
| Name | Description |
|---|
| setFontCollectionIndex(byte) | Returns or sets shape’s font index in a font collection. Read/write FontCollectionIndex. |
setLineStyleIndex
| Name | Description |
|---|
| setLineStyleIndex(int) | Returns or sets line’s column index in a style matrix. Read/write int. |