public class AxisSubrange extends Object
Constructor and Description |
---|
AxisSubrange(ImageDisplay display,
AxisType axis,
String definition,
boolean originOne)
Create an AxisSubrange from a String definition.
|
AxisSubrange(long pos)
Create an AxisSubrange from a single value.
|
AxisSubrange(long pos1,
long pos2)
Create an AxisSubrange from one position to another position and everything
in between.
|
AxisSubrange(long pos1,
long pos2,
long by)
Create an AxisSubrange from one position to another position stepping by a
given value.
|
public AxisSubrange(long pos)
pos
- The single index positionpublic AxisSubrange(long pos1, long pos2)
pos1
- The first index position of the rangepos2
- The second index position of the rangepublic AxisSubrange(long pos1, long pos2, long by)
pos1
- The first index positionpos2
- The second index positionby
- The amount to step by between positionspublic AxisSubrange(ImageDisplay display, AxisType axis, String definition, boolean originOne)
display
- The ImageDisplay used to set legal bounds on dimension sizesaxis
- The AxisType within the ImageDisplay that defines boundsdefinition
- The textual description of the subrange (detailed
elsewhere)originOne
- A boolean specifying whether the origin within the String
language should be treated as 0 based or 1 based.Copyright © 2014–2022 ImageJ. All rights reserved.