Class ColorBlend
Namespace: Aspose.Imaging
Assembly: Aspose.Imaging.dll (25.2.0)
다채로운 그라디언트에서 색상 혼합을 보간하는 데 사용되는 색상 및 위치 배열을 정의합니다. 이 클래스는 상속할 수 없습니다.
public sealed class ColorBlend
상속
상속된 멤버
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
생성자
ColorBlend()
Aspose.Imaging.ColorBlend 클래스의 새 인스턴스를 초기화합니다.
public ColorBlend()
ColorBlend(int)
지정된 색상 및 위치 수로 Aspose.Imaging.ColorBlend 클래스의 새 인스턴스를 초기화합니다.
public ColorBlend(int count)
매개변수
count
int
이 Aspose.Imaging.ColorBlend에서 색상 및 위치의 수입니다.
속성
Colors
그라디언트의 해당 위치에서 사용할 색상을 나타내는 색상 배열을 가져오거나 설정합니다.
public Color[] Colors { get; set; }
속성 값
Color[]
Positions
그라디언트 선을 따라 위치를 가져오거나 설정합니다.
public float[] Positions { get; set; }
속성 값
float[]
메서드
Equals(object)
지정된 객체가 Aspose.Imaging.ColorBlend 클래스인지 테스트하고 이 Aspose.Imaging.ColorBlend 클래스와 동등한지 확인합니다.
public override bool Equals(object obj)
매개변수
obj
object
테스트할 객체입니다.
반환 값
obj
가 이 Aspose.Imaging.ColorBlend 클래스와 동등한 Aspose.Imaging.ColorBlend 클래스인 경우 true; 그렇지 않으면 false입니다.
GetHashCode()
이 인스턴스에 대한 해시 코드를 반환합니다.
public override int GetHashCode()
반환 값
해싱 알고리즘 및 해시 테이블과 같은 데이터 구조에서 사용하기에 적합한 이 인스턴스의 해시 코드입니다.