Draw a black box around the edge of the input image:

drawbox

Draw a box with color red and an opacity of 50%:

drawbox=10:20:200:60:red@0.5

The previous example can be specified as:

drawbox=x=10:y=20:w=200:h=60:color=red@0.5

Fill the box with pink color:

drawbox=x=10:y=10:w=100:h=100:color=pink@0.5:t=fill

Draw a 2-pixel red 2.40:1 mask:

drawbox=x=-t:y=0.5*(ih-iw/2.4)-t:w=iw+t*2:h=iw/2.4+t*2:t=2:c=red