New to Telerik UI for WPFStart a free 30-day trial

A SurfaceSeries3D colorizer that uses gradient stops and their offsets to determine the appearance of the surface.

Definition

Constructors

C#
public SurfaceSeries3DValueGradientColorizer()

Properties

GradientStops

GradientStopCollection

Gets or sets the gradient stops used to create the surface material. When the IsAbsolute property is set to false, the offsets should be values between 0 and 1. When the IsAbsolute property is set to true, the offsets should correlate to the actual values of the data points.

C#
public GradientStopCollection GradientStops { get; set; }

Gets or sets a value indicating whether the offsets of the gradient stops should be treated as absolute values correlating to the actual values of the data points, or if the offsets of the gradient stops should be treated as relative values between 0 and 1.

C#
public bool IsAbsolute { get; set; }

Methods

Gets the material that will determine the appearance of the surface.

C#
public override Material GetMaterial(SurfaceSeries3DColorizerContext context)
Parameters:contextSurfaceSeries3DColorizerContextReturns:

Material

Overrides: SurfaceSeries3DColorizer.GetMaterial(SurfaceSeries3DColorizerContext)

Gets texture coordinates that will determine the appearance of the surface. The texture coordinates are chosen in respect to the actual display direction of the series.

C#
public override PointCollection GetTextureCoordinates(SurfaceSeries3DColorizerContext context)
Parameters:contextSurfaceSeries3DColorizerContextReturns:

PointCollection

Overrides: SurfaceSeries3DColorizer.GetTextureCoordinates(SurfaceSeries3DColorizerContext)