Skip to main content

Point2Buffer

Complete API reference for Point2Buffer, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Vector

Component: no


public class Point2Buffer

Constructors

SignatureDescription
Point2Buffer(NativeIntBuffer)Executes Point2Buffer and returns after the underlying engine call finishes.
Point2Buffer(Engine)Executes Point2Buffer and returns after the underlying engine call finishes.
Point2Buffer()Creates a new instance of Point2Buffer.

Attributes

NameTypeDescription
bufferNativeIntBufferRepresents the buffer value stored on this instance. Read or assign to update the property.

Methods

SignatureReturnsDescription
get(int)Point2Returns the current value.
getX(int)intReturns the current x.
getY(int)intReturns the current y.
put(Point2)voidSets or updates the the value.
put(int, int)voidSets or updates the the value.
capacity()intExecutes capacity and returns after the underlying engine call finishes.
array()Point2[]Executes array and returns after the underlying engine call finishes.
position(int)voidPerforms the position operation using the provided parameters (idx).
getFloatBuffer()JAVARuntime.NativeIntBufferReturns the current float buffer.