com.aspose.slides
Class GradientStop

java.lang.Object
  extended by com.aspose.slides.GradientStop
All Implemented Interfaces:
IGradientStop

public class GradientStop
extends java.lang.Object
implements IGradientStop

Represents a gradient stop.


Method Summary
 boolean equals(java.lang.Object obj)
           
 IColorFormat getColor()
           Returns the color of a gradient stop.
 com.aspose.slides.IDOMObject getParent_Immediate()
           Returns Parent_Immediate object.
 float getPosition()
           Returns or sets the position (0..1) of a gradient stop.
 int hashCode()
           Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
 void setPosition(float value)
           Returns or sets the position (0..1) of a gradient stop.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPosition

public float getPosition()

Returns or sets the position (0..1) of a gradient stop. Read/write float.

Specified by:
getPosition in interface IGradientStop

setPosition

public void setPosition(float value)

Returns or sets the position (0..1) of a gradient stop. Read/write float.

Specified by:
setPosition in interface IGradientStop

getColor

public IColorFormat getColor()

Returns the color of a gradient stop. Read-only IColorFormat.

Specified by:
getColor in interface IGradientStop

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.

Overrides:
hashCode in class java.lang.Object
Returns:


Overriden to make compiler happy. Always returns constant because object is mutable.


getParent_Immediate

public com.aspose.slides.IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.



Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.