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.
Modifier and Type | Method and Description |
---|---|
XpsGradientStop |
deepClone()
Clones this gradient stop.
|
XpsColor |
getColor()
Returns the gradient stop color.
|
float |
getOffset()
Returns the gradient offset.
|
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.
Copyright © 2021 Aspose. All Rights Reserved.