Click or drag to resize
NChartLinearGradientBrush Class
The NChartLinearGradientBrush class provides a brush that fills the area with a linear gradient.
Inheritance Hierarchy
SystemObject
  NChart3D_UWPNChartLinearGradientBrush

Namespace:  NChart3D_UWP
Assembly:  NChart3D_UWP (in NChart3D_UWP.dll)
Syntax
public sealed class NChartLinearGradientBrush : IClosable, 
	INChartBrush, INChartGradientBrush

The NChartLinearGradientBrush type exposes the following members.

Constructors
  NameDescription
Public methodNChartLinearGradientBrush
Create linear gradient brush with given colors. This is a convenient equivalent to creating stops arraying them and then setting the array to the new instance of the linear gradient brush.
Top
Properties
  NameDescription
Public propertyEndPoint
Ending point of the gradient. It is relative to area its value should be in (0..1; 0..1). (0; 0) is the bottom left corner of the area (1; 1) is the top right corner.
Public propertyGradientStops
Array of gradient-stops that construct the gradient for this brush.
Public propertyInternalBrush
Return internal class.
Public propertyOpacity
Opacity of the brush in interval 0..1 0 -- full transparency 1 -- full opacity. The default value is 1.
Public propertyShadingModel
Shading model that should be applied to an object if it's painted with this brush. You should understand that different shading models are not always supported. For example if you paint some background with the brush only plain shading (read -- no shading) is possible. But if you paint some 3d-object different models can be chosen (it is possible to draw this object as if it was lightened by some light source).
Public propertyStartPoint
Starting point of the gradient. It is relative to the area its value should be in (0..1; 0..1). (0; 0) is the bottom left corner of the area (1; 1) is the top right corner.
Top
Methods
  NameDescription
Public methodClose
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodScaleColorWithHSV
Scale components of brush's colors (if any) according to HSV color model. HSV-representation of each component of each color is multiplied by corresponding scale factor.
Public methodScaleColorWithRGB
Scale components of brush's colors (if any) by given values. Each component of each color is multiplied by a corresponding scale factor.
Public methodToString (Inherited from Object.)
Top
See Also