CircleArcControlDrawer

Parameters

properties

The drawer properties.


public CircleArcControlDrawer CircleArcControlDrawer(ColorsScheme colors, Float strokeWidth, Float sweepAngle, Float ratio, CircleArcControlDrawer.BeforeDraw beforeDraw)

Parameters

colors

The colors for the drawer.

strokeWidth

The stroke width of the paint.

sweepAngle

The arc sweep angle.

ratio

The ratio value for the circle radius length.

beforeDraw

A listener to call before drawing the arc and circle.


public CircleArcControlDrawer CircleArcControlDrawer(@ColorInt() Integer color, Float strokeWidth, Float sweepAngle, Float ratio, CircleArcControlDrawer.BeforeDraw beforeDraw)

Parameters

color

The unique initial color for the drawer.

strokeWidth

The stroke width of the paint.

sweepAngle

The arc sweep angle.

ratio

The ratio value for the circle radius length.

beforeDraw

A listener to call before drawing the arc and circle.


public CircleArcControlDrawer CircleArcControlDrawer(ColorsScheme colors, Float strokeWidth, Float sweepAngle, Float ratio)

Parameters

colors

The colors for the drawer.

strokeWidth

The stroke width of the paint.

sweepAngle

The arc sweep angle.

ratio

The ratio value for the circle radius length.


public CircleArcControlDrawer CircleArcControlDrawer(@ColorInt() Integer color, Float strokeWidth, Float sweepAngle, Float ratio)

Parameters

color

The unique initial color for the drawer.

strokeWidth

The stroke width of the paint.

sweepAngle

The arc sweep angle.

ratio

The ratio value for the circle radius length.