@Name(value="Pta") @Properties(inherit=leptonica.class) public class PTA extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
PTA()
Default native constructor.
|
PTA(long size)
Native array allocator.
|
PTA(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
PTA |
getPointer(long i) |
int |
n()
actual number of pts
|
PTA |
n(int setter) |
int |
nalloc()
size of allocated arrays
|
PTA |
nalloc(int setter) |
PTA |
position(long position) |
int |
refcount()
reference count (1 if no clones)
|
PTA |
refcount(int setter) |
FloatPointer |
x()
arrays of floats
|
PTA |
x(FloatPointer setter) |
FloatPointer |
y() |
PTA |
y(FloatPointer setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic PTA()
public PTA(long size)
Pointer.position(long).public PTA(Pointer p)
Pointer(Pointer).public PTA getPointer(long i)
getPointer in class Pointerpublic PTA n(int setter)
public PTA nalloc(int setter)
public PTA refcount(int setter)
@Cast(value="l_float32*") public FloatPointer x()
public PTA x(FloatPointer setter)
@Cast(value="l_float32*") public FloatPointer y()
public PTA y(FloatPointer setter)
Copyright © 2022. All rights reserved.