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: 69.0.21424.2902 (69.0.21424.2902)
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: 14.7, 14.6
See Also