Creates a new Stroke with default color. The color is inherited from the coloring in the visualization or theme.
Namespace: Spotfire.Dxp.Application.Visuals.Styles
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 71.0.22122.5390 (71.0.22122.5390)
Syntax
C#
public Stroke WithDefaultColor( float lightnessFactor )
Parameters
- lightnessFactor
- Type: SystemSingle
A factor used to blend the color towards black or white. This is only used when ColorType is Default This is linear interpolation where 0 means no blending, and -1 means all black or 1 is all white. The value is clamped to the range [-1, 1].
Return Value
Type: StrokeA new stroke.
Version Information
Supported in: 15.0, 14.8, 14.7, 14.6
See Also