drawArrow

protected Unit drawArrow(Canvas canvas, Control control, Double angle)

Draws the arc arrow in the center of the arc pointing outward.

Parameters

canvas

The view canvas.

control

The Control from where the drawer is used.

angle

The angle formed between the current position and the center in the range of 0 to 2PI radians clockwise.


public final static Unit drawArrow(Canvas canvas, Float x, Float y, Float arrowLength, Float rotateAngle, Paint paint)

Draws an arrow path with the give canvas.

Parameters

canvas

The canvas on which to draw the path.

x

The x-coordinate where the arrow will be.

y

The y-coordinate where the arrow will be.

arrowLength

The arrow length.

rotateAngle

The angle to rotate the canvas.

paint

The paint to be used on the canvas.

See also


public final static Unit drawArrow(Canvas canvas, Float x, Float y, Float arrowLength, Paint paint)

Draws an arrow path with the give canvas.

Parameters

canvas

The canvas on which to draw the path.

x

The x-coordinate where the arrow will be.

y

The y-coordinate where the arrow will be.

arrowLength

The arrow length.

paint

The paint to be used on the canvas.

See also


public final static Unit drawArrow(Canvas canvas, ImmutablePosition position, Float arrowLength, Float rotateAngle, Paint paint)

Draws an arrow path with the give canvas.

Parameters

canvas

The canvas on which to draw the path.

position

The position where the arrow will be.

arrowLength

The arrow length.

rotateAngle

The angle to rotate the canvas.

paint

The paint to be used on the canvas.

See also


public final static Unit drawArrow(Canvas canvas, ImmutablePosition position, Float arrowLength, Paint paint)

Draws an arrow path with the give canvas.

Parameters

canvas

The canvas on which to draw the path.

position

The position where the arrow will be.

arrowLength

The arrow length.

paint

The paint to be used on the canvas.

See also