Vips.ArrayInt

Fields

Name

Type

Access

Description

area

Vips.Area

r/w

Methods

class

new (array)

get ()

Details

class Vips.ArrayInt
classmethod new(array)
Parameters:

array ([int]) – array of int

Returns:

A new [struct`ArrayInt`].

Return type:

Vips.ArrayInt

Allocate a new array of ints and copy array into it. Free with [method`Area`.unref].

::: seealso [struct`Area`].

get()
Returns:

array of int

Return type:

[int]

Fetch an int array from a [struct`ArrayInt`]. Useful for language bindings.