Package com.anylogic.engine.markup
- java.lang.Object
- com.anylogic.engine.markup.AbstractMarkupSubunit<ServiceWLine<?>>
- com.anylogic.engine.markup.QueuePath
- com.anylogic.engine.markup.QueueSerpentine
- All Implemented Interfaces:
QueueUnit
,Serializable
public class QueueSerpentine extends QueuePath
- See Also:
- Serialized Form
Constructor | Description |
---|---|
QueueSerpentine() | |
QueueSerpentine | |
QueueSerpentine |
Modifier and Type | Method | Description |
---|---|---|
void | addSegment |
Adds segment to this markup element
|
Color | getBeltBarrierColor() |
Returns the color of belt barrier
|
double | getWidth() |
Returns the width of the queue in pixels
|
void | setBeltBarrierColor |
Sets the color of belt barrier
|
void | setWidth |
Sets the width of this queue
|
arcTo, capacity, contains, contains, containsSq, getBoundingRectangle, getBounds, getEndPoint, getEndPoint, getEndPosition, getEndPosition, getExceededQueuePolicy, getNearestPoint, getPeds, getPositionAtOffset, getPositionAtOffsetFromEnd, getSegment, getSegmentCount, getStartPoint, getStartPoint, getStartPosition, getStartPosition, isCapacityLimited, isReverse, iterator, length, lineTo, setCapacity, size, startDrawing
public QueueSerpentine()
public QueueSerpentine(double width, Color beltBarrierColor, MarkupSegment... segments)
public QueueSerpentine(int capacity, double width, Color beltBarrierColor, MarkupSegment... segments)
public double getWidth()
Returns the width of the queue in pixels
- Returns:
- the width of the queue in pixels
public void setWidth(double width)
Sets the width of this queue
- Parameters:
width
- new width (in pixels)
public Color getBeltBarrierColor()
Returns the color of belt barrier
- Returns:
- the color of belt barrier
public void setBeltBarrierColor(Color beltBarrierColor)
Sets the color of belt barrier
- Parameters:
beltBarrierColor
- the color of belt barrier
public void addSegment(MarkupSegment segment)
Description copied from class:
QueuePath
Adds segment to this markup element
- Overrides:
addSegment
in classQueuePath
- Parameters:
segment
- the segment, should be initialized if was created using no-argument constructor