private static class NGExternalNode.BufferData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) int |
linestride |
(package private) int |
scale |
(package private) Rectangle |
srcbounds |
(package private) java.nio.Buffer |
srcbuffer |
(package private) float |
usrheight |
(package private) float |
usrwidth |
Constructor and Description |
---|
BufferData(java.nio.Buffer srcbuffer,
int linestride,
int x,
int y,
int width,
int height,
float usrWidth,
float usrHeight,
int scale) |
Modifier and Type | Method and Description |
---|---|
(package private) NGExternalNode.BufferData |
copyWithBounds(int x,
int y,
int width,
int height,
float usrWidth,
float usrHeight) |
(package private) Rectangle |
scale(Rectangle r) |
final java.nio.Buffer srcbuffer
final int linestride
final Rectangle srcbounds
final float usrwidth
final float usrheight
final int scale
BufferData(java.nio.Buffer srcbuffer, int linestride, int x, int y, int width, int height, float usrWidth, float usrHeight, int scale)
NGExternalNode.BufferData copyWithBounds(int x, int y, int width, int height, float usrWidth, float usrHeight)