메소드 | 설명 | |
---|---|---|
ChangeOpacity ( System.Windows.Media.Brush brush, double opacity ) : System.Windows.Media.Brush |
Creates a copy of a brush with the specified opacity.
|
|
CreateGradientBrush ( ) : System.Windows.Media.LinearGradientBrush |
Creates a gradient brush from the given colors.
|
|
CreateGradientBrush ( IList |
Creates a gradient brush from a list of colors.
|
|
CreateGrayBrush ( double intensity ) : |
Creates a gray brush.
|
|
CreateHsvBrush ( double alpha = 1, bool horizontal = true ) : System.Windows.Media.LinearGradientBrush |
Creates a HSV brush.
|
|
CreateRainbowBrush ( bool horizontal = true ) : System.Windows.Media.LinearGradientBrush |
Creates a rainbow brush.
|
|
CreateSteppedGradientBrush ( IList |
Creates a 'stepped' gradient brush from a list of colors.
|
|
CreateSteppedGradientBrush ( System.Windows.Media.LinearGradientBrush gradient ) : System.Windows.Media.LinearGradientBrush |
Creates the stepped gradient brush (same number of steps as the number of stops in the gradient).
|
|
CreateSteppedGradientBrush ( System.Windows.Media.LinearGradientBrush gradient, int steps ) : System.Windows.Media.LinearGradientBrush |
Creates the stepped gradient brush (any number of steps).
|
|
CreateSteppedHsvBrush ( int nSteps ) : System.Windows.Media.LinearGradientBrush |
Creates a stepped HSV brush.
|
public static ChangeOpacity ( System.Windows.Media.Brush brush, double opacity ) : System.Windows.Media.Brush | ||
brush | System.Windows.Media.Brush | /// The brush to copy. /// |
opacity | double | /// The opacity. /// |
리턴 | System.Windows.Media.Brush |
public static CreateGradientBrush ( ) : System.Windows.Media.LinearGradientBrush | ||
리턴 | System.Windows.Media.LinearGradientBrush |
public static CreateGradientBrush ( IList |
||
colors | IList |
The colors. |
horizontal | bool | if set to |
리턴 | System.Windows.Media.LinearGradientBrush |
public static CreateGrayBrush ( double intensity ) : |
||
intensity | double | /// The intensity of the gray color. /// |
리턴 |
public static CreateHsvBrush ( double alpha = 1, bool horizontal = true ) : System.Windows.Media.LinearGradientBrush | ||
alpha | double | The opacity (0-1). |
horizontal | bool | if set to |
리턴 | System.Windows.Media.LinearGradientBrush |
public static CreateRainbowBrush ( bool horizontal = true ) : System.Windows.Media.LinearGradientBrush | ||
horizontal | bool | |
리턴 | System.Windows.Media.LinearGradientBrush |
public static CreateSteppedGradientBrush ( IList |
||
colors | IList |
The colors. |
horizontal | bool | if set to |
리턴 | System.Windows.Media.LinearGradientBrush |
public static CreateSteppedGradientBrush ( System.Windows.Media.LinearGradientBrush gradient ) : System.Windows.Media.LinearGradientBrush | ||
gradient | System.Windows.Media.LinearGradientBrush | /// The gradient. /// |
리턴 | System.Windows.Media.LinearGradientBrush |
public static CreateSteppedGradientBrush ( System.Windows.Media.LinearGradientBrush gradient, int steps ) : System.Windows.Media.LinearGradientBrush | ||
gradient | System.Windows.Media.LinearGradientBrush | /// The gradient. /// |
steps | int | /// The number of steps. /// |
리턴 | System.Windows.Media.LinearGradientBrush |
public static CreateSteppedHsvBrush ( int nSteps ) : System.Windows.Media.LinearGradientBrush | ||
nSteps | int | /// The number of steps. /// |
리턴 | System.Windows.Media.LinearGradientBrush |