GradientFormat

Inheritance: java.lang.Object, com.aspose.slides.PVIObject

All Implemented Interfaces: com.aspose.slides.IGradientFormat

public final class GradientFormat extends PVIObject implements IGradientFormat

Represent a gradient format.

Methods

MethodDescription
getVersion()
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.

getVersion()

public long getVersion()

Version. Read-only long.

Returns: long

getTileFlip()

public final int getTileFlip()

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

Returns: int

setTileFlip(int value)

public final void setTileFlip(int value)

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

Parameters:

ParameterTypeDescription
valueint

getGradientDirection()

public final int getGradientDirection()

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

Returns: int

setGradientDirection(int value)

public final void setGradientDirection(int value)

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

Parameters:

ParameterTypeDescription
valueint

getLinearGradientAngle()

public final float getLinearGradientAngle()

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

Returns: float

setLinearGradientAngle(float value)

public final void setLinearGradientAngle(float value)

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

Parameters:

ParameterTypeDescription
valuefloat

getLinearGradientScaled()

public final byte getLinearGradientScaled()

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

Returns: byte

setLinearGradientScaled(byte value)

public final void setLinearGradientScaled(byte value)

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

Parameters:

ParameterTypeDescription
valuebyte

getGradientShape()

public final byte getGradientShape()

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

Returns: byte

setGradientShape(byte value)

public final void setGradientShape(byte value)

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

Parameters:

ParameterTypeDescription
valuebyte

getGradientStops()

public final IGradientStopCollection getGradientStops()

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

Returns: IGradientStopCollection