Skip to main content
Skip table of contents

HqnLayout strips

This page applies to Harlequin v13.1r0 and later; both Harlequin Core and Harlequin MultiRIP.

A Strip object is defined as a dictionary containing the following keys. All but ColorBars may be inherited from the ControlBar which contains this Strip. The Strip may also contain keys as described in the HqnLayout blocks in which case all Blocks that do not contain their own explicit definition of those keys inherit from the Strip.

BaseY

number 

Default: Opt

The distance from the bottom of the space allocated for the annotation and the bottom of the control strip.

Note that BaseX is not required here.

ColorBars

name or BlockSequence array

The BlockSequence object to be drawn in this Strip.

LeftEnd

number 

Default: 0

The series of patches defined by the ColorBars BlockSequence is drawn to fill available space along one edge of the raster. LeftEnd may be set to allow space for other Strips or Marks within the context of the same ControlBar. The BlockSequence starts this distance, in points, from the left-hand end of the space available for the Controlbar.

If LeftEnd is negative, it is a distance from the right-hand edge of the available space.

PackMethod

name

The software attempts to fill the space available with Blocks, but it is often unable to exactly fill that space. PackMethod defines the approach used when spare space cannot be filled:

/Spread

The Blocks are spread evenly by inserting white space between them.

/Stretch

All patches are scaled up slightly in the horizontal direction. Note that Square patches are no longer exactly square, and so on.

/Left

All Blocks are drawn side by side and white space is left at the right-hand end.

/Right

All Blocks are drawn side by side and white space is left at the left-hand end.

RightEnd

number 

Default: 0

The BlockSequence ends at the position set by this value, in points. If positive, it is measured from the left-hand end of the space or, if negative or zero, from the right-hand end.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.