GradientStyle.Angular
public sealed class GradientStyle.Angular : GradientStyleCreates angular gradient styles that rotate colors around a configurable center.
Fields
Section titled “Fields”
Center
Section titled “Center”public UnitPoint CenterReturns
ChartGuru.UnitPoint
StartAngleDeg
Section titled “StartAngleDeg”public float StartAngleDegReturns
System.Single
EndAngleDeg
Section titled “EndAngleDeg”public float EndAngleDegReturns
System.Single
Methods
Section titled “Methods”
Evaluate(Vector2)
Section titled “Evaluate(Vector2)”public override Color Evaluate(Vector2 normalizedPosition)Evaluates the gradient color at a normalized 2D position within the mark’s
bounding box. normalizedPosition ranges from (0,0) at
bottom-left to (1,1) at top-right.
Parameters
| Name | Type |
|---|---|
normalizedPosition |
UnityEngine.Vector2 |
Returns
UnityEngine.Color
Constructors
Section titled “Constructors”
Angular()
Section titled “Angular()”public Angular()