Point2Buffer
Complete API reference for Point2Buffer, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Vector
Component: no
public class Point2Buffer
Constructors
| Signature | Description |
|---|---|
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
| Name | Type | Description |
|---|---|---|
buffer | NativeIntBuffer | Represents the buffer value stored on this instance. Read or assign to update the property. |
Methods
| Signature | Returns | Description |
|---|---|---|
get(int) | Point2 | Returns the current value. |
getX(int) | int | Returns the current x. |
getY(int) | int | Returns the current y. |
put(Point2) | void | Sets or updates the the value. |
put(int, int) | void | Sets or updates the the value. |
capacity() | int | Executes capacity and returns after the underlying engine call finishes. |
array() | Point2[] | Executes array and returns after the underlying engine call finishes. |
position(int) | void | Performs the position operation using the provided parameters (idx). |
getFloatBuffer() | JAVARuntime.NativeIntBuffer | Returns the current float buffer. |