Class: Arrow

Arrow

Arrow

new GOWN.shapes.Arrow(color, alpha, tailWidth, tailHeight, width, height)

Basic arrow shape
Name Type Description
color Number Color of the arrow
alpha Number Alpha value of the arrow
tailWidth Number Tail width of the arrow
tailHeight Number Tail height of the arrow
width Number Width of the arrow
height Number Height of the arrow

Extends

Members

alphaNumber

The alpha of the shape, setting this will redraw the component.
Default Value:
  • 1.0

colorNumber

The fill color of the shape, setting this will redraw the component. Setting the color to a negative value or 'null', the shape will not be filled (comes in handy when you only want to draw the border).

heightNumber

The height of the shape, setting this will redraw the component.

widthNumber

The width of the shape, setting this will redraw the component.