[]
        
(Showing Draft Content)

FarPoint.Win.Spread.GradientSelectionRenderer.-ctor

GradientSelectionRenderer Constructor

GradientSelectionRenderer(Color, Color, LinearGradientMode, int)

Creates a new gradient selection renderer.

Declaration
public GradientSelectionRenderer(Color color1, Color color2, LinearGradientMode mode, int opacity)
Public Sub New(color1 As Color, color2 As Color, mode As LinearGradientMode, opacity As Integer)
Parameters
Type Name Description
Color color1

Initial color in the gradient

Color color2

Second color at the other end of the gradient

LinearGradientMode mode

Gradient mode

int opacity

Amount of opacity (opposite of transparency)

GradientSelectionRenderer()

Represents a renderer for selections with gradients.

Declaration
public GradientSelectionRenderer()
Public Sub New()