IGradientFormat

All Implemented Interfaces: com.aspose.slides.IFillParamSource

public interface IGradientFormat extends IFillParamSource

Represent a gradient format.

Methods

MethodDescription
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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
valuefloat

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:

ParameterTypeDescription
valuebyte

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:

ParameterTypeDescription
valuebyte

getGradientStops()

public abstract IGradientStopCollection getGradientStops()

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

Returns: IGradientStopCollection