XpsGradientStop

Inheritance: java.lang.Object, com.aspose.xps.XpsObject

public final class XpsGradientStop extends XpsObject

Class incapsulating GradientStop element features. This element is used by both the LinearGradientBrush and RadialGradientBrush elements to define the location and range of color progression for rendering a gradient.

Methods

MethodDescription
deepClone()Clones this gradient stop.
equals(Object arg0)
getClass()
getColor()Returns the gradient stop color.
getOffset()Returns the gradient offset.
hashCode()
notify()
notifyAll()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public XpsGradientStop deepClone()

Clones this gradient stop.

Returns: XpsGradientStop - Clone of this gradient stop.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getColor()

public XpsColor getColor()

Returns the gradient stop color.

Returns: XpsColor - The gradient stop color.

getOffset()

public float getOffset()

Returns the gradient offset. The offset indicates a point along the progression of the gradient at which a color is specified. Colors between gradient offsets in the progression are interpolated.

Returns: float - The gradient offset.

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int