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:

매개변수유형설명
arg0java.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:

매개변수유형설명
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

매개변수유형설명
arg0long
arg1int