public final class XpsGradientStop extends XpsElement
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.
Modifier and Type | Method and Description |
---|---|
void |
clonePropertyValues(XpsElement element) |
XpsGradientStop |
deepClone()
Clones this gradient stop.
|
XpsColor |
getColor()
Returns the gradient stop color.
|
float |
getOffset()
Returns the gradient offset.
|
get, iterator, size
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public XpsColor getColor()
Returns the gradient stop color.
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.
public XpsGradientStop deepClone()
Clones this gradient stop.
public void clonePropertyValues(XpsElement element)
Copyright © 2020 Aspose. All Rights Reserved.