com.aspose.slides.pptx
Class GradientFormatEx

java.lang.Object
  extended by com.aspose.slides.pptx.GradientFormatEx
All Implemented Interfaces:
IPresentationComponent, ISlideComponent

public final class GradientFormatEx
extends java.lang.Object
implements ISlideComponent

Represent a gradient format.


Field Summary
 RelativeRectangleEx m_fillToRect
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Determines whether the two GradientFormatEx instances are equal.
 GradientDirectionEx getGradientDirection()
          Returns the style of a gradient.
 GradientShapeEx getGradientShape()
          Returns the shape of a gradient.
 GradientStopsEx getGradientStops()
          Returns the collection of gradient stops.
 float getLinearGradientAngle()
          Returns or sets the angle of a gradient.
 NullableBool getLinearGradientScaled()
          Determines whether a gradient is scaled.
 PresentationEx getPresentation()
          Returns the parent presentation of a gradient.
 BaseSlideEx getSlide()
          Returns the parent slide of a gradient.
 TileFlipEx getTileFlip()
          Returns the flip mode of a gradient.
 void setGradientDirection(GradientDirectionEx value)
          Sets the style of a gradient.
 void setGradientShape(GradientShapeEx value)
          Sets the shape of a gradient.
 void setLinearGradientAngle(float value)
          Sets the angle of a gradient.
 void setLinearGradientScaled(NullableBool value)
          Sets whether a gradient is scaled.
 void setTileFlip(TileFlipEx value)
          Sets the flip mode of a gradient.
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_fillToRect

public RelativeRectangleEx m_fillToRect
Method Detail

equals

public boolean equals(java.lang.Object obj)
Determines whether the two GradientFormatEx instances are equal.

Overrides:
equals in class java.lang.Object
Parameters:
obj - The GradientFormatEx to compare with the current GradientFormatEx.
Returns:
true if the specified GradientFormatEx is equal to the current GradientFormatEx.

getTileFlip

public TileFlipEx getTileFlip()
Returns the flip mode of a gradient.

Returns:
See TileFlipEx.

setTileFlip

public void setTileFlip(TileFlipEx value)
Sets the flip mode of a gradient.

Parameters:
value - new flip mode. See TileFlipEx.

getGradientDirection

public GradientDirectionEx getGradientDirection()
Returns the style of a gradient.

Returns:
See GradientDirectionEx.

setGradientDirection

public void setGradientDirection(GradientDirectionEx value)
Sets the style of a gradient.

Parameters:
value - new gradient style. See GradientStyleEx.

getLinearGradientAngle

public float getLinearGradientAngle()
Returns or sets the angle of a gradient.


setLinearGradientAngle

public void setLinearGradientAngle(float value)
Sets the angle of a gradient.

Parameters:
value - new gradient angle.

getLinearGradientScaled

public NullableBool getLinearGradientScaled()
Determines whether a gradient is scaled.

Returns:
See NullableBool.

setLinearGradientScaled

public void setLinearGradientScaled(NullableBool value)
Sets whether a gradient is scaled.

Parameters:
value - See NullableBool.

getGradientShape

public GradientShapeEx getGradientShape()
Returns the shape of a gradient.

Returns:
See GradientShapeEx.

setGradientShape

public void setGradientShape(GradientShapeEx value)
Sets the shape of a gradient.

Parameters:
value - new shape of a gradient. See GradientShapeEx.

getGradientStops

public GradientStopsEx getGradientStops()
Returns the collection of gradient stops.

Returns:
See GradientStopsEx.

getSlide

public BaseSlideEx getSlide()
Returns the parent slide of a gradient.

Specified by:
getSlide in interface ISlideComponent

getPresentation

public PresentationEx getPresentation()
Returns the parent presentation of a gradient.

Specified by:
getPresentation in interface IPresentationComponent