IGradientFormat

All Implemented Interfaces: com.aspose.slides.IFillParamSource

public interface IGradientFormat extends IFillParamSource

Represent a gradient format.

Methods

Method Description
getTileFlip() Returns or sets the flipping mode for a gradient.
setTileFlip(int value) Returns or sets the flipping mode for a gradient.
getGradientDirection() Returns or sets the style of a gradient.
setGradientDirection(int value) Returns or sets the style of a gradient.
getLinearGradientAngle() Returns or sets the angle of a gradient.
setLinearGradientAngle(float value) Returns or sets the angle of a gradient.
getLinearGradientScaled() Determines whether a gradient is scaled.
setLinearGradientScaled(byte value) Determines whether a gradient is scaled.
getGradientShape() Returns or sets the shape of a gradient.
setGradientShape(byte value) Returns or sets the shape of a gradient.
getGradientStops() Returns the collection of gradient stops.

getTileFlip()

public abstract int getTileFlip()

Returns or sets the flipping mode for a gradient. Read/write TileFlip.

Returns: int

setTileFlip(int value)

public abstract void setTileFlip(int value)

Returns or sets the flipping mode for a gradient. Read/write TileFlip.

Parameters:

Parameter Type Description
value int

getGradientDirection()

public abstract int getGradientDirection()

Returns or sets the style of a gradient. Read/write GradientDirection.

Returns: int

setGradientDirection(int value)

public abstract void setGradientDirection(int value)

Returns or sets the style of a gradient. Read/write GradientDirection.

Parameters:

Parameter Type Description
value int

getLinearGradientAngle()

public abstract float getLinearGradientAngle()

Returns or sets the angle of a gradient. Read/write float.

Returns: float

setLinearGradientAngle(float value)

public abstract void setLinearGradientAngle(float value)

Returns or sets the angle of a gradient. Read/write float.

Parameters:

Parameter Type Description
value float

getLinearGradientScaled()

public abstract byte getLinearGradientScaled()

Determines whether a gradient is scaled. Read/write NullableBool.

Returns: byte

setLinearGradientScaled(byte value)

public abstract void setLinearGradientScaled(byte value)

Determines whether a gradient is scaled. Read/write NullableBool.

Parameters:

Parameter Type Description
value byte

getGradientShape()

public abstract byte getGradientShape()

Returns or sets the shape of a gradient. Read/write GradientShape.

Returns: byte

setGradientShape(byte value)

public abstract void setGradientShape(byte value)

Returns or sets the shape of a gradient. Read/write GradientShape.

Parameters:

Parameter Type Description
value byte

getGradientStops()

public abstract IGradientStopCollection getGradientStops()

Returns the collection of gradient stops. Read-only IGradientStopCollection.

Returns: IGradientStopCollection