public static class NSVGShape.Buffer extends org.lwjgl.system.StructBuffer<NSVGShape,NSVGShape.Buffer>
NSVGShape structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
NSVGShape.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.FloatBuffer |
bounds()
Returns a
FloatBuffer view of the bounds field. |
float |
bounds(int index)
Returns the value at the specified index of the
bounds field. |
NSVGPaint |
fill()
Returns a
NSVGPaint view of the fill field. |
byte |
fillRule()
Returns the value of the
fillRule field. |
byte |
flags()
Returns the value of the
flags field. |
java.nio.ByteBuffer |
id()
Returns a
ByteBuffer view of the id field. |
java.lang.String |
idString()
Decodes the null-terminated string stored in the
id field. |
float |
miterLimit()
Returns the value of the
miterLimit field. |
NSVGShape |
next()
Returns a
NSVGShape view of the struct pointed to by the next field. |
float |
opacity()
Returns the value of the
opacity field. |
NSVGPath |
paths()
Returns a
NSVGPath view of the struct pointed to by the paths field. |
NSVGPaint |
stroke()
Returns a
NSVGPaint view of the stroke field. |
java.nio.FloatBuffer |
strokeDashArray()
Returns a
FloatBuffer view of the strokeDashArray field. |
float |
strokeDashArray(int index)
Returns the value at the specified index of the
strokeDashArray field. |
byte |
strokeDashCount()
Returns the value of the
strokeDashCount field. |
float |
strokeDashOffset()
Returns the value of the
strokeDashOffset field. |
byte |
strokeLineCap()
Returns the value of the
strokeLineCap field. |
byte |
strokeLineJoin()
Returns the value of the
strokeLineJoin field. |
float |
strokeWidth()
Returns the value of the
strokeWidth field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
NSVGShape.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by NSVGShape.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public java.nio.ByteBuffer id()
ByteBuffer view of the id field.public java.lang.String idString()
id field.public float opacity()
opacity field.public float strokeWidth()
strokeWidth field.public float strokeDashOffset()
strokeDashOffset field.public java.nio.FloatBuffer strokeDashArray()
FloatBuffer view of the strokeDashArray field.public float strokeDashArray(int index)
strokeDashArray field.public byte strokeDashCount()
strokeDashCount field.public byte strokeLineJoin()
strokeLineJoin field.public byte strokeLineCap()
strokeLineCap field.public float miterLimit()
miterLimit field.public byte fillRule()
fillRule field.public byte flags()
flags field.public java.nio.FloatBuffer bounds()
FloatBuffer view of the bounds field.public float bounds(int index)
bounds field.Copyright LWJGL. All Rights Reserved. License terms.