IShapeStyle

public interface IShapeStyle

Represent shape’s style reference.

Methods

MethodDescription
getLineColor()Returns a shape’s outline color.
getLineStyleIndex()Returns or sets line’s column index in a style matrix.
setLineStyleIndex(int value)Returns or sets line’s column index in a style matrix.
getFillColor()Returns a shape’s fill color.
getFillStyleIndex()Returns or sets shape’s fill column index in style matrices.
setFillStyleIndex(short value)Returns or sets shape’s fill column index in style matrices.
getEffectColor()Returns a shape’s effect color.
getEffectStyleIndex()Returns or sets shape’s effect column index in a style matrix.
setEffectStyleIndex(long value)Returns or sets shape’s effect column index in a style matrix.
getFontColor()Returns a shape’s font color.
getFontCollectionIndex()Returns or sets shape’s font index in a font collection.
setFontCollectionIndex(byte value)Returns or sets shape’s font index in a font collection.

getLineColor()

public abstract IColorFormat getLineColor()

Returns a shape’s outline color. Read-only IColorFormat.

Returns: IColorFormat

getLineStyleIndex()

public abstract int getLineStyleIndex()

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

Returns: int

setLineStyleIndex(int value)

public abstract void setLineStyleIndex(int value)

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

Parameters:

ParameterTypeDescription
valueint

getFillColor()

public abstract IColorFormat getFillColor()

Returns a shape’s fill color. Read-only IColorFormat.

Returns: IColorFormat

getFillStyleIndex()

public abstract short 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

setFillStyleIndex(short value)

public abstract void setFillStyleIndex(short value)

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.

Parameters:

ParameterTypeDescription
valueshort

getEffectColor()

public abstract IColorFormat getEffectColor()

Returns a shape’s effect color. Read-only IColorFormat.

Returns: IColorFormat

getEffectStyleIndex()

public abstract long getEffectStyleIndex()

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

Returns: long

setEffectStyleIndex(long value)

public abstract void setEffectStyleIndex(long value)

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

Parameters:

ParameterTypeDescription
valuelong

getFontColor()

public abstract IColorFormat getFontColor()

Returns a shape’s font color. Read-only IColorFormat.

Returns: IColorFormat

getFontCollectionIndex()

public abstract byte getFontCollectionIndex()

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

Returns: byte

setFontCollectionIndex(byte value)

public abstract void setFontCollectionIndex(byte value)

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

Parameters:

ParameterTypeDescription
valuebyte