Class PathGradientBrush

Class PathGradientBrush

이름 공간 : Aspose.Imaging.Brushes 모임: Aspose.Imaging.dll (25.4.0)

Aspose.Imaging.Brush 개체를 그라디언트로 캡슐화합니다.이 클래스는 유산되지 않습니다.

[JsonObject(MemberSerialization.OptIn)]
public sealed class PathGradientBrush : PathGradientBrushBase, IDisposable

Inheritance

object DisposableObject Brush TransformBrush PathGradientBrushBase PathGradientBrush

Implements

IDisposable

상속 회원들

PathGradientBrushBase.PathPoints , PathGradientBrushBase.GraphicsPath , PathGradientBrushBase.CenterPoint , PathGradientBrushBase.FocusScales , TransformBrush.ResetTransform() , TransformBrush.MultiplyTransform(Matrix) , TransformBrush.MultiplyTransform(Matrix, MatrixOrder) , TransformBrush.TranslateTransform(float, float) , TransformBrush.TranslateTransform(float, float, MatrixOrder) , TransformBrush.ScaleTransform(float, float) , TransformBrush.ScaleTransform(float, float, MatrixOrder) , TransformBrush.RotateTransform(float) , TransformBrush.RotateTransform(float, MatrixOrder) , TransformBrush.WrapMode , TransformBrush.Transform , TransformBrush.IsTransformChanged , Brush.DeepClone() , Brush.Equals(object) , Brush.GetHashCode() , Brush.Opacity , DisposableObject.Dispose() , DisposableObject.Disposed , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Remarks

중앙 색상은 기본적으로 흰색입니다.사용자는 이 값을 언제든지 나중에 변경할 수 있습니다.

주변 색상 범위는 기본적으로 흰색을 포함하는 단일 요소에 의해 시작됩니다. 주변 색상은 나중에 변경될 수 있지만 주변 색상을 설정할 때 적어도 단일 요소가 필요합니다.

Aspose.Imaging.Brushes.PathGradientBrush.Blend에서 이니셔티브에 대한 자세한 내용을 참조하십시오.

Constructors

PathGradientBrush(포인트F[])

지정된 포인트와 함께 Aspose.Imaging.Brushes.PathGradientBrush 클래스의 새로운 예를 시작합니다.

public PathGradientBrush(PointF[] pathPoints)

Parameters

pathPoints PointF [ ] [ [ ]

Aspose.Imaging.PointF 구조의 범위는 경로의 계단을 구성하는 포인트를 나타냅니다.

PathGradientBrush(포인트F[ ] [ [ ], WrapMode에 대한 정보)

Aspose.Imaging.Brushes.PathGradientBrush 클래스의 새로운 사례를 지정된 포인트와 포장 모드로 시작합니다.

public PathGradientBrush(PointF[] pathPoints, WrapMode wrapMode)

Parameters

pathPoints PointF [ ] [ [ ]

Aspose.Imaging.PointF 구조의 범위는 경로의 계단을 구성하는 포인트를 나타냅니다.

wrapMode WrapMode

이 Aspose.Imaging.Brushes.PathGradientBrush로 인쇄 된 채우는 방법을 지정하는 Aspose.Imaging.WrapMode.

PathGradientBrush(Point[])

지정된 포인트와 함께 Aspose.Imaging.Brushes.PathGradientBrush 클래스의 새로운 예를 시작합니다.

public PathGradientBrush(Point[] pathPoints)

Parameters

pathPoints Point [ ] [ [ ]

Aspose.Imaging.Point 구조의 범위는 경로의 계단을 구성하는 포인트를 나타냅니다.

PathGradientBrush(Point[ ] [ [ ], WrapMode에 대한 정보)

Aspose.Imaging.Brushes.PathGradientBrush 클래스의 새로운 사례를 지정된 포인트와 포장 모드로 시작합니다.

public PathGradientBrush(Point[] pathPoints, WrapMode wrapMode)

Parameters

pathPoints Point [ ] [ [ ]

Aspose.Imaging.Point 구조의 범위는 경로의 계단을 구성하는 포인트를 나타냅니다.

wrapMode WrapMode

이 Aspose.Imaging.Brushes.PathGradientBrush로 인쇄 된 채우는 방법을 지정하는 Aspose.Imaging.WrapMode.

PathGradientBrush(GraphicsPath)

Aspose.Imaging.Brushes.PathGradientBrush 클래스의 새로운 사례를 지정된 경로로 시작합니다.

public PathGradientBrush(GraphicsPath path)

Parameters

path GraphicsPath

이 Aspose.Imaging.Graphics에 의해 채워진 영역을 정의하는 Aspose.Imaging.Brushes.PathGradientBrush.

Properties

Blend

그것은 Aspose.Imaging.Blend를 얻거나 설정하여 그라디언을위한 사용자 지정된 falloff를 정의하는 위치와 요소를 지정합니다.

public Blend Blend { get; set; }

부동산 가치

Blend

CenterColor

그것은 도로 그라디언트의 중심에 색을 얻거나 설정합니다.

public Color CenterColor { get; set; }

부동산 가치

Color

InterpolationColors

다채로운 선형 그라디언트를 정의하는 Aspose.Imaging.ColorBlend를 얻거나 설정합니다.

[Obsolete("This property is not used in this class anymore. Use PathMulticolorGradientBrush class instead.")]
[JsonIgnore]
public ColorBlend InterpolationColors { get; set; }

부동산 가치

ColorBlend

SurroundColors

이 Aspose.Imaging.Brushes.PathGradientBrush이 채우는 경로의 포인트와 일치하는 색상의 범위를 얻거나 설정합니다.

public Color[] SurroundColors { get; set; }

부동산 가치

Color [ ] [ [ ]

Methods

SetBlendTriangularShape(플로트)

그것은 중앙 색깔을 가진 그라디언트와 한 주변 색깔에 대한 선형 파로프를 만듭니다.

public void SetBlendTriangularShape(float focus)

Parameters

focus float

0에서 1까지의 값은 경로의 중심에서 경로의 경계까지의 어떤 방사선을 따라 중앙 색깔이 가장 높은 강도에 있는 곳을 지정합니다.

SetBlendTriangularShape(수영장, 수영장)

그것은 중앙 색상과 각 주변 색상에 대한 선형 팔로프를 가진 그라디언트를 만듭니다.

public void SetBlendTriangularShape(float focus, float scale)

Parameters

focus float

0에서 1까지의 값은 경로의 중심에서 경로의 경계까지의 어떤 방사선을 따라 중앙 색깔이 가장 높은 강도에 있는 곳을 지정합니다.

scale float

0에서 1까지의 값은 중앙 색상과 혼합되는 중앙 색상의 최대 강도를 지정합니다. 1의 값은 중앙 색상의 최대 강도를 일으키며 기본 값입니다.

SetSigmaBellShape(플로트)

그라디언 브러쉬를 만드는 것은 경로의 중심에서 경로의 경계까지 색을 바꾸는 것입니다.한 색에서 다른 색으로의 전환은 벨 모양의 곡선을 기반으로합니다.

public void SetSigmaBellShape(float focus)

Parameters

focus float

0에서 1까지의 값은 경로의 중심에서 경로의 경계까지의 어떤 방사선을 따라 중앙 색깔이 가장 높은 강도에 있는 곳을 지정합니다.

SetSigmaBellShape(수영장, 수영장)

그라디언 브러쉬를 만드는 것은 경로의 중심에서 경로의 경계까지 색을 바꾸는 것입니다.한 색에서 다른 색으로의 전환은 벨 모양의 곡선을 기반으로합니다.

public void SetSigmaBellShape(float focus, float scale)

Parameters

focus float

0에서 1까지의 값은 경로의 중심에서 경로의 경계까지의 어떤 방사선을 따라 중앙 색깔이 가장 높은 강도에 있는 곳을 지정합니다.

scale float

0에서 1까지의 값은 중앙 색상과 혼합되는 중앙 색상의 최대 강도를 지정합니다. 1의 값은 중앙 색상의 최대 강도를 일으키며 기본 값입니다.

 한국어