Class DrawingLinearGradient

Namespace
Forma
Assembly
Forma.dll

A two-stop linear gradient in transformed drawing coordinates.

public sealed class DrawingLinearGradient
Inheritance
DrawingLinearGradient
Inherited Members

Constructors

DrawingLinearGradient(Vector2, Vector2, Color, Color)

public DrawingLinearGradient(Vector2 start, Vector2 end, Color startColor, Color endColor)

Parameters

start Vector2
end Vector2
startColor Color
endColor Color

Properties

End

public Vector2 End { get; }

Property Value

Vector2

EndColor

public Color EndColor { get; }

Property Value

Color

Start

public Vector2 Start { get; }

Property Value

Vector2

StartColor

public Color StartColor { get; }

Property Value

Color