public class AxisSubrange extends Object
|Constructor and Description|
Create an AxisSubrange from a String definition.
Create an AxisSubrange from a single value.
Create an AxisSubrange from one position to another position and everything in between.
Create an AxisSubrange from one position to another position stepping by a given value.
public AxisSubrange(long pos)
pos- The single index position
public AxisSubrange(long pos1, long pos2)
pos1- The first index position of the range
pos2- The second index position of the range
public AxisSubrange(long pos1, long pos2, long by)
pos1- The first index position
pos2- The second index position
by- The amount to step by between positions
public AxisSubrange(ImageDisplay display, AxisType axis, String definition, boolean originOne)
display- The ImageDisplay used to set legal bounds on dimension sizes
axis- The AxisType within the ImageDisplay that defines bounds
definition- 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–2017 ImageJ. All rights reserved.