LinearGradientBrush 생성자

정의

LinearGradientBrush 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
LinearGradientBrush()

LinearGradientBrush 클래스의 새 인스턴스를 초기화합니다.

LinearGradientBrush(GradientStopCollection)

지정된 그라데이션 중지점이 있는 클래스의 LinearGradientBrush 새 인스턴스를 초기화합니다.

LinearGradientBrush(GradientStopCollection, Double)

지정된 각도와 각도를 가진 클래스의 LinearGradientBrush 새 인스턴스를 GradientStopCollection 초기화합니다.

LinearGradientBrush(Color, Color, Double)

지정된 시작LinearGradientBrush, 끝 Color및 각도가 Color 있는 클래스의 새 인스턴스를 초기화합니다.

LinearGradientBrush(GradientStopCollection, Point, Point)

지정된 그라데이션 중지LinearGradientBrush점이 있는 클래스의 StartPoint 새 인스턴스를 초기화합니다EndPoint.

LinearGradientBrush(Color, Color, Point, Point)

지정된 시작LinearGradientBrush, 끝ColorColor, 및 StartPoint.가 있는 클래스의 EndPoint 새 인스턴스를 초기화합니다.

설명

MappingMode 브러시가 .로 초기화됩니다RelativeToBoundingBox.

LinearGradientBrush()

LinearGradientBrush 클래스의 새 인스턴스를 초기화합니다.

public:
 LinearGradientBrush();
public LinearGradientBrush();
Public Sub New ()

설명

MappingMode 브러시가 .로 초기화됩니다RelativeToBoundingBox.

적용 대상

LinearGradientBrush(GradientStopCollection)

지정된 그라데이션 중지점이 있는 클래스의 LinearGradientBrush 새 인스턴스를 초기화합니다.

public:
 LinearGradientBrush(System::Windows::Media::GradientStopCollection ^ gradientStopCollection);
public LinearGradientBrush(System.Windows.Media.GradientStopCollection gradientStopCollection);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.GradientStopCollection -> System.Windows.Media.LinearGradientBrush
Public Sub New (gradientStopCollection As GradientStopCollection)

매개 변수

gradientStopCollection
GradientStopCollection

GradientStops 브러시에 설정할 수 있습니다.

설명

MappingMode 브러시가 .로 초기화됩니다RelativeToBoundingBox.

추가 정보

적용 대상

LinearGradientBrush(GradientStopCollection, Double)

지정된 각도와 각도를 가진 클래스의 LinearGradientBrush 새 인스턴스를 GradientStopCollection 초기화합니다.

public:
 LinearGradientBrush(System::Windows::Media::GradientStopCollection ^ gradientStopCollection, double angle);
public LinearGradientBrush(System.Windows.Media.GradientStopCollection gradientStopCollection, double angle);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.GradientStopCollection * double -> System.Windows.Media.LinearGradientBrush
Public Sub New (gradientStopCollection As GradientStopCollection, angle As Double)

매개 변수

gradientStopCollection
GradientStopCollection

GradientStops 브러시에 설정할 수 있습니다.

angle
Double

그라데이션의 각도(도)를 나타내는 A Double 입니다. 값이 0.0이면 가로 그라데이션이 생성되고 값이 90.0이면 세로 그라데이션이 만들어집니다.

설명

MappingMode 브러시가 .로 초기화됩니다RelativeToBoundingBox.

적용 대상

LinearGradientBrush(Color, Color, Double)

지정된 시작LinearGradientBrush, 끝 Color및 각도가 Color 있는 클래스의 새 인스턴스를 초기화합니다.

public:
 LinearGradientBrush(System::Windows::Media::Color startColor, System::Windows::Media::Color endColor, double angle);
public LinearGradientBrush(System.Windows.Media.Color startColor, System.Windows.Media.Color endColor, double angle);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.Color * System.Windows.Media.Color * double -> System.Windows.Media.LinearGradientBrush
Public Sub New (startColor As Color, endColor As Color, angle As Double)

매개 변수

startColor
Color

Color at offset 0.0입니다.

endColor
Color

Color at offset 1.0입니다.

angle
Double

그라데이션의 각도(도)를 나타내는 A Double 입니다. 값이 0.0이면 가로 그라데이션이 생성되고 값이 90.0이면 세로 그라데이션이 만들어집니다.

설명

MappingMode 브러시가 .로 초기화됩니다RelativeToBoundingBox.

적용 대상

LinearGradientBrush(GradientStopCollection, Point, Point)

지정된 그라데이션 중지LinearGradientBrush점이 있는 클래스의 StartPoint 새 인스턴스를 초기화합니다EndPoint.

public:
 LinearGradientBrush(System::Windows::Media::GradientStopCollection ^ gradientStopCollection, System::Windows::Point startPoint, System::Windows::Point endPoint);
public LinearGradientBrush(System.Windows.Media.GradientStopCollection gradientStopCollection, System.Windows.Point startPoint, System.Windows.Point endPoint);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.GradientStopCollection * System.Windows.Point * System.Windows.Point -> System.Windows.Media.LinearGradientBrush
Public Sub New (gradientStopCollection As GradientStopCollection, startPoint As Point, endPoint As Point)

매개 변수

gradientStopCollection
GradientStopCollection

GradientStops 브러시에 설정할 수 있습니다.

startPoint
Point

StartPoint 그라데이션의

endPoint
Point

EndPoint 그라데이션의

설명

MappingMode 브러시가 .로 초기화됩니다RelativeToBoundingBox.

적용 대상

LinearGradientBrush(Color, Color, Point, Point)

지정된 시작LinearGradientBrush, 끝ColorColor, 및 StartPoint.가 있는 클래스의 EndPoint 새 인스턴스를 초기화합니다.

public:
 LinearGradientBrush(System::Windows::Media::Color startColor, System::Windows::Media::Color endColor, System::Windows::Point startPoint, System::Windows::Point endPoint);
public LinearGradientBrush(System.Windows.Media.Color startColor, System.Windows.Media.Color endColor, System.Windows.Point startPoint, System.Windows.Point endPoint);
new System.Windows.Media.LinearGradientBrush : System.Windows.Media.Color * System.Windows.Media.Color * System.Windows.Point * System.Windows.Point -> System.Windows.Media.LinearGradientBrush
Public Sub New (startColor As Color, endColor As Color, startPoint As Point, endPoint As Point)

매개 변수

startColor
Color

Color at offset 0.0입니다.

endColor
Color

Color at offset 1.0입니다.

startPoint
Point

StartPoint 그라데이션의

endPoint
Point

EndPoint 그라데이션의

설명

MappingMode 브러시가 .로 초기화됩니다RelativeToBoundingBox.

적용 대상