Class: Slot

Slot

A Slot is a single ring on the Map.

new Slot()

Slot

Extends

Members

bbOffsetNumber

Get the current offset of the center of the slot from the backbone.

canvasCanvas

Get the canvas.

centerOffsetNumber

Get the current center offset of the center of the slot.

drawByScoreBoolean

Return true if drawing by score

drawOrderString

Get the Track drawOrder

insideBoolean

Is the slot position inside the backbone

layoutLayout

Get the Layout

metaBoolean

Get or Set the meta data of this object. See the meta data tutorial for details.

outsideBoolean

Is the slot position outside the backbone

positionString

Get the position of the slot in relation to the backbone

sequenceSequence

Get the sequence.

thicknessNumber

Get the current thickness of the slot.

trackTrack

Get the Track

typeString

Get the Track Type

viewerViewer

Get the viewer.

visibleBoolean

Get or Set the visibility of this object.

visibleRangeRange

Get the visible range

Methods

containsCenterOffset(offset){Boolean}

Does the slot contain the given centerOffset.

Name Type Description
offset Number

The centerOffset.

Returns:
Type Description
Boolean

inherited deleteFromObjects()

Remove the object from Viewer.objects

findFeaturesForBp(bp){Feature}

Return the first feature in this slot that contains the given bp.

Name Type Description
bp Number

the position in bp to search for.

Returns:
Type Description
Feature

toString(){String}

Return the class name as a string.

Returns:
Type Description
String
  • 'Slot'