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