ShapeStyle

ShapeStyle class

Represent shape’s style reference.

getEffectColor

NameDescription
getEffectColor ()Returns a shape’s effect color. Read-only IColorFormat.

Returns: ColorFormat


getEffectStyleIndex

NameDescription
getEffectStyleIndex ()Returns or sets shape’s effect column index in a style matrix. Read/write long.

Returns: long


getFillColor

NameDescription
getFillColor ()Returns a shape’s fill color. Read-only IColorFormat.

Returns: ColorFormat


getFillStyleIndex

NameDescription
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

NameDescription
getFontCollectionIndex ()Returns or sets shape’s font index in a font collection. Read/write FontCollectionIndex.

Returns: byte


getFontColor

NameDescription
getFontColor ()Returns a shape’s font color. Read-only IColorFormat.

Returns: ColorFormat


getLineColor

NameDescription
getLineColor ()Returns a shape’s outline color. Read-only IColorFormat.

Returns: ColorFormat


getLineStyleIndex

NameDescription
getLineStyleIndex ()Returns or sets line’s column index in a style matrix. Read/write int.

Returns: int


setEffectStyleIndex

NameDescription
setEffectStyleIndex (long)Returns or sets shape’s effect column index in a style matrix. Read/write long.

Returns: void


setFillStyleIndex

NameDescription
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.

Returns: void


setFontCollectionIndex

NameDescription
setFontCollectionIndex (byte)Returns or sets shape’s font index in a font collection. Read/write FontCollectionIndex.

Returns: void


setLineStyleIndex

NameDescription
setLineStyleIndex (int)Returns or sets line’s column index in a style matrix. Read/write int.

Returns: void