IntRange Class

Summary: Class for representing sequence of elements

Module: aspose.psd

Full Name: aspose.psd.IntRange

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
IntRange(range)Initializes a new instance of the IntRange class.
IntRange(start, count)Initializes a new instance of the IntRange class.
IntRange(start, count, delta)Initializes a new instance of the IntRange class.

Properties

NameTypeAccessDescription
rangeintr/wGets or sets the range.

Methods

NameDescription
get_array_one_item_from_index(index)Returns one item array from specified index
get_range(start, count, delta)Gets the count range of int elements starting at start

Constructor: IntRange(range)

 IntRange(range) 

Initializes a new instance of the IntRange class.

Parameters:

ParameterTypeDescription
rangeintThe range.

Constructor: IntRange(start, count)

 IntRange(start, count) 

Initializes a new instance of the IntRange class.

Parameters:

ParameterTypeDescription
startintThe start.
countintThe count.

Constructor: IntRange(start, count, delta)

 IntRange(start, count, delta) 

Initializes a new instance of the IntRange class.

Parameters:

ParameterTypeDescription
startintThe start.
countintThe count.
deltaintThe delta.

Method: get_array_one_item_from_index(index)

 get_array_one_item_from_index(index) 

Returns one item array from specified index

Parameters:

ParameterTypeDescription
indexintThe range index.

Returns

TypeDescription
intThe array of int

Method: get_range(start, count, delta) [static]

 get_range(start, count, delta) 

Gets the count range of int elements starting at start

Parameters:

ParameterTypeDescription
startintThe start.
countintThe count.
deltaintThe delta.

Returns

TypeDescription
iter[int]Array of items