XpsGradientBrush
Inheritance: java.lang.Object, com.aspose.xps.XpsObject, com.aspose.xps.XpsBrush, com.aspose.xps.XpsTransformableBrush
public abstract class XpsGradientBrush extends XpsTransformableBrush
Class incapsulating common features of LinerGradientBrush and RadialGradientBrush elements.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getColorInterpolationMode() | Returns value specifying the gamma function for color interpolation. |
getGradientStops() | Returns list of gradient stops that comprise the gradient. |
getOpacity() | Returns value defining the uniform transparency of the brush fill. |
getSpreadMethod() | Returns value describing how the brush should fill the content area outside of the primary, initial gradient area. |
getTransform() | Returns the matrix transformation applied to the coordinate space of the brush. |
hashCode() | |
notify() | |
notifyAll() | |
setColorInterpolationMode(XpsColorInterpolationMode value) | Sets value specifying the gamma function for color interpolation. |
setGradientStops(List | Sets list of gradient stops that comprise the gradient. |
setOpacity(float value) | Sets value defining the uniform transparency of the brush fill. |
setSpreadMethod(XpsSpreadMethod value) | Sets value describing how the brush should fill the content area outside of the primary, initial gradient area. |
setTransform(XpsMatrix value) | Sets the matrix transformation applied to the coordinate space of the brush. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColorInterpolationMode()
public XpsColorInterpolationMode getColorInterpolationMode()
Returns value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.
Returns: XpsColorInterpolationMode - Value specifying the gamma function for color interpolation.
getGradientStops()
public List<XpsGradientStop> getGradientStops()
Returns list of gradient stops that comprise the gradient.
Returns: java.util.List<com.aspose.xps.XpsGradientStop> - List of gradient stops that comprise the gradient.
getOpacity()
public float getOpacity()
Returns value defining the uniform transparency of the brush fill.
Returns: float - Value defining the uniform transparency of the brush fill.
getSpreadMethod()
public XpsSpreadMethod getSpreadMethod()
Returns value describing how the brush should fill the content area outside of the primary, initial gradient area.
Returns: XpsSpreadMethod - Value describing how the brush should fill the content area outside of the primary, initial gradient area.
getTransform()
public XpsMatrix getTransform()
Returns the matrix transformation applied to the coordinate space of the brush. The Transform property is concatenated with the current effective render transform to yield an effective render transform local to the brush. The viewport for the brush is transformed using the local effective render transform.
Returns: XpsMatrix - The matrix transformation applied to the coordinate space of the brush.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setColorInterpolationMode(XpsColorInterpolationMode value)
public void setColorInterpolationMode(XpsColorInterpolationMode value)
Sets value specifying the gamma function for color interpolation. The gamma adjustment should not be applied to the alpha component, if specified.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XpsColorInterpolationMode | Value specifying the gamma function for color interpolation. |
setGradientStops(List value)
public void setGradientStops(List<XpsGradientStop> value)
Sets list of gradient stops that comprise the gradient.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.util.List<com.aspose.xps.XpsGradientStop> | List of gradient stops that comprise the gradient. |
setOpacity(float value)
public void setOpacity(float value)
Sets value defining the uniform transparency of the brush fill.
Parameters:
Parameter | Type | Description |
---|---|---|
value | float | Value defining the uniform transparency of the brush fill. |
setSpreadMethod(XpsSpreadMethod value)
public void setSpreadMethod(XpsSpreadMethod value)
Sets value describing how the brush should fill the content area outside of the primary, initial gradient area.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XpsSpreadMethod | Value describing how the brush should fill the content area outside of the primary, initial gradient area. |
setTransform(XpsMatrix value)
public void setTransform(XpsMatrix value)
Sets the matrix transformation applied to the coordinate space of the brush. The Transform property is concatenated with the current effective render transform to yield an effective render transform local to the brush. The viewport for the brush is transformed using the local effective render transform.
Parameters:
Parameter | Type | Description |
---|---|---|
value | XpsMatrix | The matrix transformation applied to the coordinate space of the brush. |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |