XpsGradientStop
Inheritance: java.lang.Object, com.aspose.xps.XpsObject
public final class XpsGradientStop extends XpsObject
封装 GradientStop 元素特性的类。此元素被 LinearGradientBrush 和 RadialGradientBrush 两个元素使用,以定义渲染渐变时颜色渐进的定位和范围。
方法
| 方法 | 描述 |
|---|---|
| deepClone() | 克隆此渐变停止点。 |
| equals(Object arg0) | |
| getClass() | |
| getColor() | 返回渐变停止点的颜色。 |
| getOffset() | 返回渐变偏移量。 |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
deepClone()
public XpsGradientStop deepClone()
克隆此渐变停止点。
Returns: XpsGradientStop - Clone of this gradient stop.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColor()
public XpsColor getColor()
返回渐变停止点的颜色。
Returns: XpsColor - The gradient stop color.
getOffset()
public float getOffset()
返回渐变偏移量。偏移量表示在渐变进程中的一个点,在该点指定颜色。渐变进程中偏移量之间的颜色将进行插值。
Returns: float - 渐变偏移量。
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:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| 参数 | 类型 | 描述 |
|---|---|---|
| arg0 | long | |
| arg1 | int |