Highlight Control Drawer
A ControlDrawer that draws a highlighted circular trapezoid.
Constructors
Properties
The drawer colors.
The last current quadrant where the control was.
The maximum ratio value to calculating the inner distance from the center.
The minimum ratio value to calculating the inner distance from the center.
The Path to draw the filled shape of the circular trapezoid.
Functions
Draws the current trapezoidPath.
Resets and fills the path of the circular trapezoid.
Gets the accent color of colors.
Checks if the alpha value meets the valid range.
Changes the alpha channel value of the given color to the one returned by getAlphaRanged.
Gets the current quadrant of the control position.
Gets the distance value between the inner arc of the trapezoid and the control center.
Checks if the ratio value meets the valid range.
Gets the inner ratio value to calculate the inner distance from the control center to the inner arc of the trapezoid.
The last current quadrant where the control was.
Gets the distance value between the outer arc of the trapezoid and the control center.
Gets the sweep angle for give direction type.
The Path to draw the filled shape of the circular trapezoid.
Gets the value that determines that the primary color should be taken as set or not.
Sets the accent color of colors.
Sets the inner ratio value.
Sets the primary color of colors and paint.
Sets the value that determines that the (new) primary color should be taken as set or not.