chump.objects.dataobjects.scalebar

draw the scale bar.

xy

set the coordinates to place the scale bar

xy1

set the relative offset point used to define the direction of the scalebar. Default is [1, 0]. The scale bar will be through xy and xy1.

unit

set the unit displaying in the scale bar.

unit_factor

set the scale factor converting from the displaying unit to the coordinate system unit. Default is 5280.

length

set the length of the scale bar in the unit displaying in the scale bar.

color

set color, default is 'black'.

foreground

set foreground color, default is 'white'.

pad

points between the scale bar label and ruler. default is 5.

zorder

set zorder of the scale bar. Default is 99999995.

fontsize

set fontsize, default is 'large'.

linewidth

set line width of the scale bar ruler. Default is 3.