Class AngleRangeView
Inheritance
AngleRangeView
Syntax
public class AngleRangeView : object, IAngleRangeView
Properties
hoveredRangeIndex
Declaration
public int hoveredRangeIndex { get; }
Property Value
Implements
Methods
DoAngleRange(Int32, Rect, Single, Single, ref Single, ref Single, Boolean, Boolean, Color, Color, Color)
Declaration
public bool DoAngleRange(int index, Rect rect, float radius, float angleOffset, ref float start, ref float end, bool snap, bool disabled, Color gradientMin, Color gradientMid, Color gradientMax)
Parameters
Returns
Implements
IAngleRangeView.DoAngleRange(Int32, Rect, Single, Single, ref Single, ref Single, Boolean, Boolean, Color, Color, Color)
DoCreateRange(Rect, Single, Single, Single, Single)
Declaration
public bool DoCreateRange(Rect rect, float radius, float angleOffset, float start, float end)
Parameters
Returns
Implements
Declaration
public void DoCreateRangeTooltip()
Implements
DoRemoveRange()
Declaration
public bool DoRemoveRange()
Returns
Implements
DoSelectAngleRange(Int32, out Int32)
Declaration
public bool DoSelectAngleRange(int currentSelected, out int newSelected)
Parameters
Type |
Name |
Description |
Int32 |
currentSelected |
|
Int32 |
newSelected |
|
Returns
Implements
DoSelector(Rect, Single, Single, Single, out Single)
Declaration
public bool DoSelector(Rect rect, float angleOffset, float radius, float angle, out float newAngle)
Parameters
Returns
Implements
DrawAngleRangeOutline(Rect, Single, Single, Single, Single)
Declaration
public void DrawAngleRangeOutline(Rect rect, float start, float end, float angleOffset, float radius)
Parameters
Implements
GetAngleFromPosition(Rect, Single)
Declaration
public float GetAngleFromPosition(Rect rect, float angleOffset)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Single |
angleOffset |
|
Returns
Implements
IsActionActive(AngleRangeAction)
Declaration
public bool IsActionActive(AngleRangeAction action)
Parameters
Returns
Implements
IsActionFinishing(AngleRangeAction)
Declaration
public bool IsActionFinishing(AngleRangeAction action)
Parameters
Returns
Implements
IsActionHot(AngleRangeAction)
Declaration
public bool IsActionHot(AngleRangeAction action)
Parameters
Returns
IsActionTriggering(AngleRangeAction)
Declaration
public bool IsActionTriggering(AngleRangeAction action)
Parameters
Returns
Implements
Repaint()
Declaration
Implements
RequestFocusIndex(Int32)
Declaration
public void RequestFocusIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Implements
SetupLayout(Rect, Single, Single)
Declaration
public void SetupLayout(Rect rect, float angleOffset, float radius)
Parameters
Type |
Name |
Description |
Rect |
rect |
|
Single |
angleOffset |
|
Single |
radius |
|
Implements